diff --git a/src/cargo.rs b/src/cargo.rs index 8b97093..b80d094 100644 --- a/src/cargo.rs +++ b/src/cargo.rs @@ -76,6 +76,7 @@ pub fn config(opt_path: &Option) -> Result { } #[cfg(test)] +#[cfg(not(target_os = "windows"))] mod tests { use crate::cargo::*; diff --git a/src/core.rs b/src/core.rs index 0150232..e3a2dae 100644 --- a/src/core.rs +++ b/src/core.rs @@ -22,6 +22,7 @@ pub fn hash(input: &str) -> u64 { } #[cfg(test)] +#[cfg(not(target_os = "windows"))] mod tests { use crate::core::*;