]> git.proxmox.com Git - cargo.git/commit
Auto merge of #7699 - ehuss:build-std-no-sysroot, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 12 Dec 2019 17:59:45 +0000 (17:59 +0000)
committerbors <bors@rust-lang.org>
Thu, 12 Dec 2019 17:59:45 +0000 (17:59 +0000)
commit662a965c58a187e001bf1ed9d8b2913d5a2f988b
treef71f5ddfc220dcd8c2403e954480e0a6935f2920
parent89d4ab5412ab3416869b549784754b0cd73d3039
parent1c779ac5d4ebcdc66778e06995bfc8ce6d79a10c
Auto merge of #7699 - ehuss:build-std-no-sysroot, r=alexcrichton

Switch build-std to use --extern

Switch `build-std` to use `--extern` flags instead of `--sysroot`.

This is mostly a revert of #7421. It uses the new extern flag options introduced in https://github.com/rust-lang/rust/pull/67074. It avoids modifying the extern prelude which was the source of the problem of https://github.com/rust-lang/wg-cargo-std-aware/issues/40.

Closes https://github.com/rust-lang/wg-cargo-std-aware/issues/49
Reopens https://github.com/rust-lang/wg-cargo-std-aware/issues/31