about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-30 13:37:32 +0100
committerRalf Jung <post@ralfj.de>2024-03-31 19:44:54 +0200
commit7ac5f604c1601c0c43cd305ae43c78795c1eac2b (patch)
tree42e53e56699de31769fe7d2a1e6fdac77283831d /src
parentfb8abe5fcfca0ad43279e7f62ad14b8604d62efc (diff)
downloadrust-7ac5f604c1601c0c43cd305ae43c78795c1eac2b.tar.gz
rust-7ac5f604c1601c0c43cd305ae43c78795c1eac2b.zip
remove a pointless env var
CARGO_EXTRA_FLAGS is respected by the ./miri script which we are not invoking here
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/src/core/build_steps/test.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs
index c3fab96ef26..8a79c28fc6c 100644
--- a/src/bootstrap/src/core/build_steps/test.rs
+++ b/src/bootstrap/src/core/build_steps/test.rs
@@ -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());