Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no_std addr2line #100

Closed
wants to merge 2 commits into from
Closed

no_std addr2line #100

wants to merge 2 commits into from

Conversation

roblabla
Copy link

@roblabla roblabla commented Aug 1, 2018

Fixes #98

Copy link
Contributor

@philipc philipc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this build with current nightly? I thought it was blocked on a new stable_deref_trait release.

Please add a travis entry (you can copy from here).

Cargo.toml Outdated
default = ["rustc-demangle", "cpp_demangle"]
default = ["std", "rustc-demangle", "cpp_demangle"]
std = ["gimli/std", "object/std", "cpp_demangle/std"]
nightly = ["gimli/alloc", "fallible-iterator/alloc"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please call this alloc.

use std::rc::Rc;
use alloc::rc::Rc;
use alloc::vec::Vec;
use alloc::string::{ToString, String};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Group the alloc imports together.

@roblabla
Copy link
Author

roblabla commented Aug 1, 2018

Ugh, sorry, I tested on an old nightly from before the alloc changes (I'm stuck on an old nightly for the time being).

@roblabla
Copy link
Author

roblabla commented Aug 1, 2018

Right so it requires an object release (for the goblin bump), and a stable_deref_trait release.

@roblabla
Copy link
Author

roblabla commented Aug 2, 2018

stable_deref_trait got a release. We're only missing an object release now.

@philipc
Copy link
Contributor

philipc commented Aug 3, 2018

It needs a gimli release too. Also this still doesn't build. It might be simpler if I reopen #98 (which doesn't need any changes other than a rebase).

@roblabla roblabla closed this Aug 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants