rust-osdev / cargo-xbuild

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
Apache License 2.0
256 stars 25 forks source link

Propagate `cargo-features` from project's Cargo.toml #82

Closed eggyal closed 4 years ago

eggyal commented 4 years ago

The [profile.release] section of the project's Cargo.toml is propagated into the xbuild, but may rely on Cargo features that require explicit enabling. This PR also propagates any cargo-features from the project's Cargo.toml into the xbuild.

(I encountered this case when attempting to use Cargo's new strip feature).

phil-opp commented 4 years ago

Looks good to me, thanks!

phil-opp commented 4 years ago

Published as v0.5.34.