Skip to content

Commit 64a9f56

Browse files
committed
Don't run dogfood on windows
1 parent 9170ca3 commit 64a9f56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,9 @@ where
8686
})
8787
.map(|p| ("CARGO_TARGET_DIR", p));
8888

89-
// Run the dogfood tests directly on nightly cargo. This is required due
90-
// to a bug in rustup.rs when running cargo on custom toolchains. See issue #3118.
89+
// Don't run the dogfood tests on beta
9190
if std::env::var_os("CLIPPY_DOGFOOD").is_some() && cfg!(windows) {
92-
args.insert(0, "+nightly".to_string());
91+
return Ok(())
9392
}
9493

9594
let exit_status = std::process::Command::new("cargo")

0 commit comments

Comments
 (0)