Skip to content

Commit 08e36d7

Browse files
committed
Auto merge of rust-lang#7124 - Jarcho:lintcheck-windows, r=phansch
Fix lintcheck on windows changelog: None
2 parents 74f5599 + 6c42375 commit 08e36d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lintcheck/src/main.rs

+7
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,16 @@ use rayon::prelude::*;
2222
use serde::{Deserialize, Serialize};
2323
use serde_json::Value;
2424

25+
#[cfg(not(windows))]
2526
const CLIPPY_DRIVER_PATH: &str = "target/debug/clippy-driver";
27+
#[cfg(not(windows))]
2628
const CARGO_CLIPPY_PATH: &str = "target/debug/cargo-clippy";
2729

30+
#[cfg(windows)]
31+
const CLIPPY_DRIVER_PATH: &str = "target/debug/clippy-driver.exe";
32+
#[cfg(windows)]
33+
const CARGO_CLIPPY_PATH: &str = "target/debug/cargo-clippy.exe";
34+
2835
const LINTCHECK_DOWNLOADS: &str = "target/lintcheck/downloads";
2936
const LINTCHECK_SOURCES: &str = "target/lintcheck/sources";
3037

0 commit comments

Comments
 (0)