Skip to content

Commit 3c502ec

Browse files
committed
Remove hack that forces dogfood to run on nightly
This isn't necessary anymore, since we don't use a custom toolchain anymore
1 parent 5ebe6d3 commit 3c502ec

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ impl ClippyCmd {
9292
panic!("Usage of `--fix` requires `-Z unstable-options`");
9393
}
9494

95-
// Run the dogfood tests directly on nightly cargo. This is required due
96-
// to a bug in rustup.rs when running cargo on custom toolchains. See issue #3118.
97-
if env::var_os("CLIPPY_DOGFOOD").is_some() && cfg!(windows) {
98-
args.insert(0, "+nightly".to_string());
99-
}
100-
10195
let mut clippy_args: Vec<String> = old_args.collect();
10296
if cargo_subcommand == "fix" && !clippy_args.iter().any(|arg| arg == "--no-deps") {
10397
clippy_args.push("--no-deps".into());

0 commit comments

Comments
 (0)