File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,8 @@ impl Step for Miri {
388
388
cargo. env ( "XARGO_RUST_SRC" , builder. src . join ( "src" ) ) ;
389
389
// Debug things.
390
390
cargo. env ( "RUST_BACKTRACE" , "1" ) ;
391
+ // Overwrite bootstrap's `rustc` wrapper overwriting our flags.
392
+ cargo. env ( "RUSTC_DEBUG_ASSERTIONS" , "true" ) ;
391
393
// Let cargo-miri know where xargo ended up.
392
394
cargo. env ( "XARGO" , builder. out . join ( "bin" ) . join ( "xargo" ) ) ;
393
395
@@ -397,7 +399,7 @@ impl Step for Miri {
397
399
}
398
400
399
401
// # Determine where Miri put its sysroot.
400
- // To this end, we run `cargo miri setup --env ` and capture the output.
402
+ // To this end, we run `cargo miri setup --print-sysroot ` and capture the output.
401
403
// (We do this separately from the above so that when the setup actually
402
404
// happens we get some output.)
403
405
// We re-use the `cargo` from above.
You can’t perform that action at this time.
0 commit comments