about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-24 14:29:56 +0200
committerGitHub <noreply@github.com>2022-09-24 14:29:56 +0200
commit6900638c532b2b009cbec3d2aef98541fa7e15f6 (patch)
tree2b6c335ef6fe28171ed9f437a2e392949d882193 /src
parent81eb35f18a4d305ab88fd020c88b0113a5747f0e (diff)
parent5f77ce029697dd9c91c5240f5b65372fb9d4c09a (diff)
downloadrust-6900638c532b2b009cbec3d2aef98541fa7e15f6.tar.gz
rust-6900638c532b2b009cbec3d2aef98541fa7e15f6.zip
Rollup merge of #102226 - RalfJung:miri-sysroot-build, r=oli-obk
bootstrap/miri: switch to non-deprecated env var for setting the sysroot folder

r? `@oli-obk`
Diffstat (limited to 'src')
-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.