Unix Build

This commit is contained in:
veeso
2021-06-20 11:29:12 +02:00
parent 89d205e946
commit e3d2151bad
19 changed files with 124 additions and 62 deletions

View File

@@ -73,7 +73,7 @@ impl FtpFileTransfer {
PathBuf::from(path_slash::PathExt::to_slash_lossy(p).as_str())
}
#[cfg(any(target_os = "unix", target_os = "macos", target_os = "linux"))]
#[cfg(any(target_family = "unix", target_os = "macos", target_os = "linux"))]
fn resolve(p: &Path) -> PathBuf {
p.to_path_buf()
}