You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When disabling all features except for rustc-dep-of-std, this crate should have minimal dependencies and, in particular, it would be great if it could build without a C toolchain for the target. That is needed to keep libstd (with no features) buildable without a C toolchain (modulo rust-lang/rust#56443).
However, currently, backtrace-sys is always built when building libstd, even with no features. The reason for this is probably that rustc-dep-of-std enables backtrace-sys/rustc-dep-of-std, which unfortunately implicitly enables backtrace-sys.
@alexcrichtonsuggests to work around this by making backtrace-sys with no features do basically nothing, and then enabling the "actually-build" feature only from backtrace's "libbacktrace" feature.
The text was updated successfully, but these errors were encountered:
When disabling all features except for rustc-dep-of-std, this crate should have minimal dependencies and, in particular, it would be great if it could build without a C toolchain for the target. That is needed to keep libstd (with no features) buildable without a C toolchain (modulo rust-lang/rust#56443).
However, currently, backtrace-sys is always built when building libstd, even with no features. The reason for this is probably that rustc-dep-of-std enables
backtrace-sys/rustc-dep-of-std
, which unfortunately implicitly enablesbacktrace-sys
.@alexcrichton suggests to work around this by making backtrace-sys with no features do basically nothing, and then enabling the "actually-build" feature only from backtrace's "libbacktrace" feature.
The text was updated successfully, but these errors were encountered: