rust-lang / wg-cargo-std-aware

Repo for working on "std aware cargo"
137 stars 8 forks source link

Deps: backtrace #16

Open ehuss opened 5 years ago

ehuss commented 5 years ago

This issue is for working through the implementation issues for compiling backtrace.

The backtrace crate provides runtime backtraces. It is on by default (for all platforms?). This currently requires a C compiler.

#46439 tracks using a pure-Rust implementation.

I'm not sure exactly how this will fit in the std-aware Cargo story.

bjorn3 commented 4 years ago

https://github.com/rust-lang/rust/issues/46439 has been closed.

ehuss commented 4 years ago

Yea, that goes a long way towards making things easier to build. I'd like to keep this issue open to track how to deal with the backtrace feature. AFAIK, it is always enabled (and is force-enabled in Cargo build-std), but there is likely some more consideration needed for platforms where backtrace is not supported. This is somewhat related to #13, where the story for handling features hasn't been fully defined.