Skip to content

Commit ca694a8

Browse files
authored
Redox OS is part of the unix family (#15307)
2 parents 44277a4 + c340cd9 commit ca694a8

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

Cargo.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cargo-util/src/paths.rs

-2
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,6 @@ fn _link_or_copy(src: &Path, dst: &Path) -> Result<()> {
611611
}
612612

613613
let link_result = if src.is_dir() {
614-
#[cfg(target_os = "redox")]
615-
use std::os::redox::fs::symlink;
616614
#[cfg(unix)]
617615
use std::os::unix::fs::symlink;
618616
#[cfg(windows)]

crates/home/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "home"
3-
version = "0.5.11"
3+
version = "0.5.12"
44
authors = ["Brian Anderson <[email protected]>"]
55
rust-version.workspace = true
66
documentation = "https://docs.rs/home"

crates/home/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub fn home_dir() -> Option<PathBuf> {
6969
#[cfg(windows)]
7070
use windows::home_dir_inner;
7171

72-
#[cfg(any(unix, target_os = "redox"))]
72+
#[cfg(unix)]
7373
fn home_dir_inner() -> Option<PathBuf> {
7474
#[allow(deprecated)]
7575
std::env::home_dir()

0 commit comments

Comments
 (0)