-
Notifications
You must be signed in to change notification settings - Fork 63
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
no_std addr2line #100
Conversation
There was a problem hiding this 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"] |
There was a problem hiding this comment.
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}; |
There was a problem hiding this comment.
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.
Ugh, sorry, I tested on an old nightly from before the alloc changes (I'm stuck on an old nightly for the time being). |
Right so it requires an object release (for the goblin bump), and a stable_deref_trait release. |
stable_deref_trait got a release. We're only missing an object release now. |
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). |
Fixes #98