]> git.proxmox.com Git - cargo.git/commit
Auto merge of #7421 - ehuss:build-std-sysroot, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 25 Sep 2019 15:58:02 +0000 (15:58 +0000)
committerbors <bors@rust-lang.org>
Wed, 25 Sep 2019 15:58:02 +0000 (15:58 +0000)
commitc59e1f422a1e43c53b1d2ff8836893149130ea79
tree2b952ef5e7cffdac7542f6c0da9a8c93ca35c3e5
parent400221e8cc42a68f8d4e1bc1091bde79047195db
parent9d86d8693248a5747377eb41584c6e863c5736ca
Auto merge of #7421 - ehuss:build-std-sysroot, r=alexcrichton

Change build-std to use --sysroot

This transitions build-std to use `--sysroot` instead of `--extern`. This is necessary because existing crates have a certain expectation of how standard library crates are exposed. It was intended that explicit dependencies in `Cargo.toml` would solve this problem, but I didn't really consider this would be a backwards-incompatible change, so using `--sysroot` is probably the best way to go, even though it's not ideal.

Closes rust-lang/wg-cargo-std-aware#31
Closes rust-lang/wg-cargo-std-aware#40