diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 4cfda606c4bc8a45a4b977a5a8dcbc84ee4de177..1b9e9a889483c0921ad3d5a53021bbdbb5809093 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -391,7 +391,7 @@ fn run(self, builder: &Builder<'_>) { // 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")); + cargo.env("XARGO_CHECK", builder.out.join("bin").join("xargo-check")); let mut cargo = Command::from(cargo); if !try_run(builder, &mut cargo) {