Skip to content

Commit

Permalink
remove a pointless env var
Browse files Browse the repository at this point in the history
CARGO_EXTRA_FLAGS is respected by the ./miri script which we are not invoking here
  • Loading branch information
RalfJung committed Mar 30, 2024
1 parent af810a5 commit 4ff7f49
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/bootstrap/src/core/build_steps/test.rs
Expand Up @@ -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());
Expand Down

0 comments on commit 4ff7f49

Please sign in to comment.