Skip to content

Commit

Permalink
Fix rmz platform cfgs
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Saveau <[email protected]>
  • Loading branch information
SUPERCILEX committed Jan 13, 2023
1 parent 87d105e commit 11232c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fuc_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rustix = { version = "0.36.6", features = ["fs"] }
[target.'cfg(not(target_os = "linux"))'.dependencies]
rayon = "1.6.1"

[target.'cfg(not(any(target_os = "linux", target_os = "macos")))'.dependencies]
[target.'cfg(target_os = "windows")'.dependencies]
remove_dir_all = "0.7.0"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions fuc_engine/src/ops/remove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ mod compat {
}
}

#[cfg(target_os = "macos")]
#[cfg(all(not(target_os = "linux"), not(target_os = "windows")))]
mod compat {
use std::{borrow::Cow, fs, io, path::Path};

Expand Down Expand Up @@ -296,7 +296,7 @@ mod compat {
}
}

#[cfg(not(any(target_os = "linux", target_os = "macos")))]
#[cfg(target_os = "windows")]
mod compat {
use std::{borrow::Cow, path::Path};

Expand Down

0 comments on commit 11232c3

Please sign in to comment.