mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
eac0a8bc30
Have all Cargo-built crates pass `--cfg cargobuild` and then add appropriate `#[cfg]` definitions to all crates to avoid linking anything if this is passed. This should help allow libstd to compile with both the makefiles and with Cargo.