We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc577dc commit 9e74cceCopy full SHA for 9e74cce
crates/cargo-util/src/paths.rs
@@ -611,8 +611,6 @@ fn _link_or_copy(src: &Path, dst: &Path) -> Result<()> {
611
}
612
613
let link_result = if src.is_dir() {
614
- #[cfg(target_os = "redox")]
615
- use std::os::redox::fs::symlink;
616
#[cfg(unix)]
617
use std::os::unix::fs::symlink;
618
#[cfg(windows)]
crates/home/src/lib.rs
@@ -69,7 +69,7 @@ pub fn home_dir() -> Option<PathBuf> {
69
70
use windows::home_dir_inner;
71
72
-#[cfg(any(unix, target_os = "redox"))]
+#[cfg(unix)]
73
fn home_dir_inner() -> Option<PathBuf> {
74
#[allow(deprecated)]
75
std::env::home_dir()
0 commit comments