-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Move backtrace handling code to separate crate #39503
Comments
As soon as the old makefiles are finally gone (#39431) Rust will be able to switch to using the external |
I think in order to use the external backtrace crate we'd have to make it capable of compiling with no_std; cc @alexcrichton (owner of the crate). However, I'm not very clear on the specifics here. |
Discussed on IRC with @Mark-Simulacrum, the thinking here is:
And otherwise land it! |
So I put up a trial run of a no_std backtrace-rs implementation (rust-lang/backtrace-rs#50) that technically compiles on macOS and x86_64, if probably doesn't work. After realizing that we'd have to vendor 2-3 new repos in order for this to happen today, we decided it's not time yet. As such, I'm unassigning myself -- but if anyone wants to take the PR and branch I put up and push it into completion that would be a good start for the future. |
@alexcrichton has #60852 fixed this issue? |
Yep! |
That way, third-party crates, like
backtrace
, could use the same code than the compiler. It uses things likestd::io
andstd::env
, so it should depend onstd
.Waiting for #38165 before starting.
The text was updated successfully, but these errors were encountered: