about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-05 14:09:24 +0000
committerbors <bors@rust-lang.org>2021-03-05 14:09:24 +0000
commit9e5453835572784dcdcdf63a4723254507282dc7 (patch)
treec2deafa4b9c83d00f1b5150135f85cd2a4d1b6c7 /src
parentf0e6ce8035a8c12d2342c68814f00529a410b77d (diff)
parent74eb44834cc12ce51396d94e98b04fdd0ad9bb64 (diff)
downloadrust-9e5453835572784dcdcdf63a4723254507282dc7.tar.gz
rust-9e5453835572784dcdcdf63a4723254507282dc7.zip
Auto merge of #6849 - flip1995:dogfood-fix, r=matthiaskrgr
Dogfood and CI fixes

The CI fix is practically #6829 rebased and squashed into one commit

Dogfood fix is a follow up of #6802

r? `@matthiaskrgr` for lintcheck changes

(best reviewed with whitespace changes hidden)

changelog: none
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index d13a831f5ff..7bb80b1196e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -92,12 +92,6 @@ impl ClippyCmd {
             panic!("Usage of `--fix` requires `-Z unstable-options`");
         }
 
-        // Run the dogfood tests directly on nightly cargo. This is required due
-        // to a bug in rustup.rs when running cargo on custom toolchains. See issue #3118.
-        if env::var_os("CLIPPY_DOGFOOD").is_some() && cfg!(windows) {
-            args.insert(0, "+nightly".to_string());
-        }
-
         let mut clippy_args: Vec<String> = old_args.collect();
         if cargo_subcommand == "fix" && !clippy_args.iter().any(|arg| arg == "--no-deps") {
             clippy_args.push("--no-deps".into());