remove a pointless env var

CARGO_EXTRA_FLAGS is respected by the ./miri script which we are not invoking here
This commit is contained in:
Ralf Jung 2024-03-30 13:37:32 +01:00
parent fb8abe5fcf
commit 7ac5f604c1

View File

@ -620,10 +620,6 @@ impl Step for Miri {
cargo.env("MIRI_SYSROOT", &miri_sysroot);
cargo.env("MIRI_HOST_SYSROOT", &sysroot);
cargo.env("MIRI", &miri);
if builder.config.locked_deps {
// enforce lockfiles
cargo.env("CARGO_EXTRA_FLAGS", "--locked");
}
// Set the target.
cargo.env("MIRI_TEST_TARGET", target.rustc_target_arg());