about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-03-02 22:43:31 +0100
committerRalf Jung <post@ralfj.de>2020-03-04 10:31:00 +0100
commit0a6f45e2e5057fa47c4687edb493e9ce02a5db9a (patch)
treef84a706888eba156a22214f1eeb6abbbc4726ae9
parentc839a7b4c26e58319b0c40448dd423facff34cd0 (diff)
downloadrust-0a6f45e2e5057fa47c4687edb493e9ce02a5db9a.tar.gz
rust-0a6f45e2e5057fa47c4687edb493e9ce02a5db9a.zip
point cargo-miri to the right xargo binary
-rw-r--r--src/bootstrap/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 4cfda606c4b..1b9e9a88948 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -391,7 +391,7 @@ impl Step for Miri {
             // 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) {