diff --git a/tests/dogfood.rs b/tests/dogfood.rs index 8ca9b5c92a4..590027f8491 100644 --- a/tests/dogfood.rs +++ b/tests/dogfood.rs @@ -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();