Skip to content

Commit 5f77ce0

Browse files
committed
bootstrap/miri: switch to non-deprecated env var for setting the sysroot folder
1 parent 4d44e09 commit 5f77ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ impl Step for Miri {
520520
cargo.arg("--").arg("miri").arg("setup");
521521

522522
// Tell `cargo miri setup` where to find the sources.
523-
cargo.env("XARGO_RUST_SRC", builder.src.join("library"));
523+
cargo.env("MIRI_LIB_SRC", builder.src.join("library"));
524524
// Tell it where to find Miri.
525525
cargo.env("MIRI", &miri);
526526
// Debug things.

0 commit comments

Comments
 (0)