We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05aa983 commit 03de7fdCopy full SHA for 03de7fd
src/bootstrap/test.rs
@@ -415,6 +415,10 @@ impl Step for Miri {
415
cargo.env("RUSTC_DEBUG_ASSERTIONS", "false");
416
// Debug things.
417
cargo.env("RUST_BACKTRACE", "1");
418
+ // Configure `cargo install` path, and let cargo-miri know that that's where
419
+ // xargo ends up.
420
+ cargo.env("CARGO_INSTALL_ROOT", &builder.out); // cargo adds a `bin/`
421
+ cargo.env("XARGO", builder.out.join("bin").join("xargo"));
422
423
if !try_run(builder, &mut cargo) {
424
return;
0 commit comments