mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
fix miri and bootstrap interaction
This commit is contained in:
parent
821c4408f9
commit
1a0e2001bc
@ -388,6 +388,8 @@ impl Step for Miri {
|
||||
cargo.env("XARGO_RUST_SRC", builder.src.join("src"));
|
||||
// Debug things.
|
||||
cargo.env("RUST_BACKTRACE", "1");
|
||||
// Overwrite bootstrap's `rustc` wrapper overwriting our flags.
|
||||
cargo.env("RUSTC_DEBUG_ASSERTIONS", "true");
|
||||
// Let cargo-miri know where xargo ended up.
|
||||
cargo.env("XARGO", builder.out.join("bin").join("xargo"));
|
||||
|
||||
@ -397,7 +399,7 @@ impl Step for Miri {
|
||||
}
|
||||
|
||||
// # Determine where Miri put its sysroot.
|
||||
// To this end, we run `cargo miri setup --env` and capture the output.
|
||||
// To this end, we run `cargo miri setup --print-sysroot` and capture the output.
|
||||
// (We do this separately from the above so that when the setup actually
|
||||
// happens we get some output.)
|
||||
// We re-use the `cargo` from above.
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 5b8462066d99511a5ca119cbd3a1443ccf675714
|
||||
Subproject commit a3dad216eeab5be4ffb050afb9ab2b2c67ee4513
|
Loading…
Reference in New Issue
Block a user