From 5f77ce029697dd9c91c5240f5b65372fb9d4c09a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 24 Sep 2022 08:53:40 +0200 Subject: [PATCH] bootstrap/miri: switch to non-deprecated env var for setting the sysroot folder --- src/bootstrap/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 1617875ec231c..01f4cacd771ff 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.