We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98e2b9f commit 6c42375Copy full SHA for 6c42375
lintcheck/src/main.rs
@@ -22,9 +22,16 @@ use rayon::prelude::*;
22
use serde::{Deserialize, Serialize};
23
use serde_json::Value;
24
25
+#[cfg(not(windows))]
26
const CLIPPY_DRIVER_PATH: &str = "target/debug/clippy-driver";
27
28
const CARGO_CLIPPY_PATH: &str = "target/debug/cargo-clippy";
29
30
+#[cfg(windows)]
31
+const CLIPPY_DRIVER_PATH: &str = "target/debug/clippy-driver.exe";
32
33
+const CARGO_CLIPPY_PATH: &str = "target/debug/cargo-clippy.exe";
34
+
35
const LINTCHECK_DOWNLOADS: &str = "target/lintcheck/downloads";
36
const LINTCHECK_SOURCES: &str = "target/lintcheck/sources";
37
0 commit comments