Skip to content

Commit 25edbce

Browse files
authored
Merge pull request #4447 from RalfJung/miri-script-msrv
miri-script: set msrv so clippy doesn't suggest too-new features
2 parents 5a0499d + 09cfa07 commit 25edbce

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

miri-script/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ repository = "https://github.com/rust-lang/miri"
77
version = "0.1.0"
88
default-run = "miri-script"
99
edition = "2024"
10+
rust-version = "1.85"
1011

1112
[workspace]
1213
# We make this a workspace root so that cargo does not go looking in ../Cargo.toml for the workspace root.

miri-script/src/commands.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,6 @@ impl Command {
702702
let mut early_flags = Vec::<OsString>::new();
703703

704704
// In `dep` mode, the target is already passed via `MIRI_TEST_TARGET`
705-
#[expect(clippy::collapsible_if)] // we need to wait until this is stable
706705
if !dep {
707706
if let Some(target) = &target {
708707
early_flags.push("--target".into());
@@ -735,7 +734,6 @@ impl Command {
735734
// Add Miri flags
736735
let mut cmd = cmd.args(&miri_flags).args(&early_flags).args(&flags);
737736
// For `--dep` we also need to set the target in the env var.
738-
#[expect(clippy::collapsible_if)] // we need to wait until this is stable
739737
if dep {
740738
if let Some(target) = &target {
741739
cmd = cmd.env("MIRI_TEST_TARGET", target);

0 commit comments

Comments
 (0)