Fix lintcheck on windows

This commit is contained in:
Jason Newcomb 2021-04-22 13:12:10 -04:00
parent 98e2b9f25b
commit 6c423757dd
No known key found for this signature in database
GPG key ID: DA59E8643A37ED06

View file

@ -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";