Skip to content

Commit

Permalink
Don't run dogfood on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed May 17, 2019
1 parent 9170ca3 commit 64a9f56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@ where
})
.map(|p| ("CARGO_TARGET_DIR", p));

// 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.
// Don't run the dogfood tests on beta
if std::env::var_os("CLIPPY_DOGFOOD").is_some() && cfg!(windows) {
args.insert(0, "+nightly".to_string());
return Ok(())
}

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

0 comments on commit 64a9f56

Please sign in to comment.