]> git.lizzy.rs Git - rust.git/commit
Auto merge of #1406 - RalfJung:miri-as-rustc, r=RalfJung
authorbors <bors@rust-lang.org>
Sun, 10 May 2020 17:00:14 +0000 (17:00 +0000)
committerbors <bors@rust-lang.org>
Sun, 10 May 2020 17:00:14 +0000 (17:00 +0000)
commit4c784796103173c503e44fcdb12cb79ef0aba820
treea661856cd5cc92ce14fed7fdc52574edc973ac31
parent4cbe1f4184f11028d64856bf20ece56ebef772e0
parent845b89c23607516b5cae90cc3c925c9ab32059c7
Auto merge of #1406 - RalfJung:miri-as-rustc, r=RalfJung

cargo-miri: never invoke rustc

Always go through 'MIRI_BE_RUSTC=1 miri' instead. This is based on @oli-obk's great idea to add a way to make Miri behave like rustc, which already helped us in https://github.com/rust-lang/miri/pull/1405. Now it means in `cargo-miri` we run *all* crates through the same binary, and use the env var to determine if we compile or interpret them. This makes sure the compiler is consistent.

The `rustc` binary of the current toolchain is now not used at all, only the `miri` binary is. In particular this means we can kill the sysroot consistency check. :)