mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Auto merge of #7124 - Jarcho:lintcheck-windows, r=phansch
Fix lintcheck on windows changelog: None
This commit is contained in:
commit
08e36d7527
1 changed files with 7 additions and 0 deletions
|
@ -22,9 +22,16 @@ use rayon::prelude::*;
|
|||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
|
||||
#[cfg(not(windows))]
|
||||
const CLIPPY_DRIVER_PATH: &str = "target/debug/clippy-driver";
|
||||
#[cfg(not(windows))]
|
||||
const CARGO_CLIPPY_PATH: &str = "target/debug/cargo-clippy";
|
||||
|
||||
#[cfg(windows)]
|
||||
const CLIPPY_DRIVER_PATH: &str = "target/debug/clippy-driver.exe";
|
||||
#[cfg(windows)]
|
||||
const CARGO_CLIPPY_PATH: &str = "target/debug/cargo-clippy.exe";
|
||||
|
||||
const LINTCHECK_DOWNLOADS: &str = "target/lintcheck/downloads";
|
||||
const LINTCHECK_SOURCES: &str = "target/lintcheck/sources";
|
||||
|
||||
|
|
Loading…
Reference in a new issue