mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Redox OS is part of the unix family (#15307)
This commit is contained in:
commit
ca694a8b89
10
Cargo.lock
generated
10
Cargo.lock
generated
@ -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",
|
||||
]
|
||||
|
@ -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)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "home"
|
||||
version = "0.5.11"
|
||||
version = "0.5.12"
|
||||
authors = ["Brian Anderson <andersrb@gmail.com>"]
|
||||
rust-version.workspace = true
|
||||
documentation = "https://docs.rs/home"
|
||||
|
@ -69,7 +69,7 @@ pub fn home_dir() -> Option<PathBuf> {
|
||||
#[cfg(windows)]
|
||||
use windows::home_dir_inner;
|
||||
|
||||
#[cfg(any(unix, target_os = "redox"))]
|
||||
#[cfg(unix)]
|
||||
fn home_dir_inner() -> Option<PathBuf> {
|
||||
#[allow(deprecated)]
|
||||
std::env::home_dir()
|
||||
|
Loading…
x
Reference in New Issue
Block a user