diff --git a/Cargo.lock b/Cargo.lock index 8219f61ef..4106030a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -330,7 +330,7 @@ dependencies = [ "glob", "hex", "hmac", - "home 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)", + "home 0.5.11", "http-auth", "ignore", "im-rc", @@ -1739,7 +1739,7 @@ checksum = "c40f12bb65a8299be0cfb90fe718e3be236b7a94b434877012980863a883a99f" dependencies = [ "bstr", "gix-trace", - "home 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)", + "home 0.5.11", "once_cell", "thiserror 2.0.11", ] @@ -2143,15 +2143,15 @@ dependencies = [ [[package]] name = "home" version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" dependencies = [ "windows-sys 0.59.0", ] [[package]] name = "home" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" +version = "0.5.12" dependencies = [ "windows-sys 0.59.0", ] diff --git a/crates/cargo-util/src/paths.rs b/crates/cargo-util/src/paths.rs index cc73fbad8..18d7b5f82 100644 --- a/crates/cargo-util/src/paths.rs +++ b/crates/cargo-util/src/paths.rs @@ -611,8 +611,6 @@ fn _link_or_copy(src: &Path, dst: &Path) -> Result<()> { } let link_result = if src.is_dir() { - #[cfg(target_os = "redox")] - use std::os::redox::fs::symlink; #[cfg(unix)] use std::os::unix::fs::symlink; #[cfg(windows)] diff --git a/crates/home/Cargo.toml b/crates/home/Cargo.toml index 91742e534..747316f16 100644 --- a/crates/home/Cargo.toml +++ b/crates/home/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "home" -version = "0.5.11" +version = "0.5.12" authors = ["Brian Anderson "] rust-version.workspace = true documentation = "https://docs.rs/home" diff --git a/crates/home/src/lib.rs b/crates/home/src/lib.rs index 534ecb2f9..b5f4cbd27 100644 --- a/crates/home/src/lib.rs +++ b/crates/home/src/lib.rs @@ -69,7 +69,7 @@ pub fn home_dir() -> Option { #[cfg(windows)] use windows::home_dir_inner; -#[cfg(any(unix, target_os = "redox"))] +#[cfg(unix)] fn home_dir_inner() -> Option { #[allow(deprecated)] std::env::home_dir()