Don't run dogfood on windows or in the rustc test suite
This commit is contained in:
parent
9a2c50f3d6
commit
920fc17485
@ -3,6 +3,9 @@ fn dogfood() {
|
||||
if option_env!("RUSTC_TEST_SUITE").is_some() {
|
||||
return;
|
||||
}
|
||||
if cfg!(windows) {
|
||||
return;
|
||||
}
|
||||
let root_dir = std::env::current_dir().unwrap();
|
||||
for d in &[".", "clippy_lints"] {
|
||||
std::env::set_current_dir(root_dir.join(d)).unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user