about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-09-24 08:53:40 +0200
committerRalf Jung <post@ralfj.de>2022-09-24 08:53:40 +0200
commit5f77ce029697dd9c91c5240f5b65372fb9d4c09a (patch)
tree15bfaf5b1194110859e10a07a20eab839c4449bc
parent4d44e09cb1db2788f59159c4b9055e339ed2181d (diff)
downloadrust-5f77ce029697dd9c91c5240f5b65372fb9d4c09a.tar.gz
rust-5f77ce029697dd9c91c5240f5b65372fb9d4c09a.zip
bootstrap/miri: switch to non-deprecated env var for setting the sysroot folder
-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 1617875ec23..01f4cacd771 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -520,7 +520,7 @@ impl Step for Miri {
         cargo.arg("--").arg("miri").arg("setup");
 
         // Tell `cargo miri setup` where to find the sources.
-        cargo.env("XARGO_RUST_SRC", builder.src.join("library"));
+        cargo.env("MIRI_LIB_SRC", builder.src.join("library"));
         // Tell it where to find Miri.
         cargo.env("MIRI", &miri);
         // Debug things.