diff options
| author | Ralf Jung <post@ralfj.de> | 2025-07-05 08:59:43 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-05 08:59:43 +0000 |
| commit | 6ea0b65c09d976a1c5fa24029a6a60db99d34ceb (patch) | |
| tree | ad76802021d384eb79a1f9fb6bc9eeeea1bcb8c6 | |
| parent | a1f4172afa99af14782478c9fa5068141ef4033b (diff) | |
| parent | 43506591e8996fda9617c26d489497c50379abea (diff) | |
| download | rust-6ea0b65c09d976a1c5fa24029a6a60db99d34ceb.tar.gz rust-6ea0b65c09d976a1c5fa24029a6a60db99d34ceb.zip | |
Merge pull request #4447 from RalfJung/miri-script-msrv
miri-script: set msrv so clippy doesn't suggest too-new features
| -rw-r--r-- | src/tools/miri/miri-script/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/tools/miri/miri-script/src/commands.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/miri/miri-script/Cargo.toml b/src/tools/miri/miri-script/Cargo.toml index 462a9cc62bf..9240788d6bc 100644 --- a/src/tools/miri/miri-script/Cargo.toml +++ b/src/tools/miri/miri-script/Cargo.toml @@ -7,6 +7,7 @@ repository = "https://github.com/rust-lang/miri" version = "0.1.0" default-run = "miri-script" edition = "2024" +rust-version = "1.85" [workspace] # We make this a workspace root so that cargo does not go looking in ../Cargo.toml for the workspace root. diff --git a/src/tools/miri/miri-script/src/commands.rs b/src/tools/miri/miri-script/src/commands.rs index e948beef004..e6ebdf54e38 100644 --- a/src/tools/miri/miri-script/src/commands.rs +++ b/src/tools/miri/miri-script/src/commands.rs @@ -702,7 +702,6 @@ impl Command { let mut early_flags = Vec::<OsString>::new(); // In `dep` mode, the target is already passed via `MIRI_TEST_TARGET` - #[expect(clippy::collapsible_if)] // we need to wait until this is stable if !dep { if let Some(target) = &target { early_flags.push("--target".into()); @@ -735,7 +734,6 @@ impl Command { // Add Miri flags let mut cmd = cmd.args(&miri_flags).args(&early_flags).args(&flags); // For `--dep` we also need to set the target in the env var. - #[expect(clippy::collapsible_if)] // we need to wait until this is stable if dep { if let Some(target) = &target { cmd = cmd.env("MIRI_TEST_TARGET", target); |
