Skip to content

Commit

Permalink
pin 'nix' to v0.23.0
Browse files Browse the repository at this point in the history
- possibly causing the CI codecov break for MacOS
- ref: [MacOS: Undefined symbols for architecture x86_64](nix-rust/nix#1588)
- ref: [Cannot have nix 0.20 and 0.23 in same package due to conflicting bitflags requirement](nix-rust/nix#1555)
- ref: [Declare the MSRV in Cargo.toml](nix-rust/nix#1561)
  • Loading branch information
rivy committed Nov 14, 2021
1 parent e640c4f commit b34efc8
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -381,7 +381,7 @@ atty = "0.2"
rlimit = "0.4.0"

[target.'cfg(unix)'.dev-dependencies]
nix = "0.20.0"
nix = "=0.23.0"

rust-users = { version="0.10", package="users" }
unix_socket = "0.5.0"
Expand Down
2 changes: 1 addition & 1 deletion src/uu/cat/Cargo.toml
Expand Up @@ -23,7 +23,7 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p

[target.'cfg(unix)'.dependencies]
unix_socket = "0.5.0"
nix = "0.20.0"
nix = "=0.23.0"

[target.'cfg(windows)'.dependencies]
winapi-util = "0.1.5"
Expand Down
2 changes: 1 addition & 1 deletion src/uu/more/Cargo.toml
Expand Up @@ -28,7 +28,7 @@ redox_termios = "0.1"
redox_syscall = "0.2"

[target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies]
nix = "0.19"
nix = "=0.23.0"

[[bin]]
name = "more"
Expand Down
2 changes: 1 addition & 1 deletion src/uu/nice/Cargo.toml
Expand Up @@ -17,7 +17,7 @@ path = "src/nice.rs"
[dependencies]
clap = { version = "2.33", features = ["wrap_help"] }
libc = "0.2.42"
nix = "0.20"
nix = "=0.23.0"
uucore = { version=">=0.0.10", package="uucore", path="../../uucore" }
uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_procs" }

Expand Down
2 changes: 1 addition & 1 deletion src/uu/tail/Cargo.toml
Expand Up @@ -27,7 +27,7 @@ winapi = { version="0.3", features=["fileapi", "handleapi", "processthreadsapi",
redox_syscall = "0.2"

[target.'cfg(unix)'.dependencies]
nix = "0.20"
nix = "=0.23.0"
libc = "0.2"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion src/uu/timeout/Cargo.toml
Expand Up @@ -17,7 +17,7 @@ path = "src/timeout.rs"
[dependencies]
clap = { version = "2.33", features = ["wrap_help"] }
libc = "0.2.42"
nix = "0.20.0"
nix = "=0.23.0"
uucore = { version=">=0.0.10", package="uucore", path="../../uucore", features=["process", "signals"] }
uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_procs" }

Expand Down
2 changes: 1 addition & 1 deletion src/uu/wc/Cargo.toml
Expand Up @@ -23,7 +23,7 @@ utf-8 = "0.7.6"
unicode-width = "0.1.8"

[target.'cfg(unix)'.dependencies]
nix = "0.20"
nix = "=0.23.0"
libc = "0.2"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion src/uu/yes/Cargo.toml
Expand Up @@ -20,7 +20,7 @@ uucore = { version=">=0.0.10", package="uucore", path="../../uucore", features=[
uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_procs" }

[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
nix = "0.20.0"
nix = "=0.23.0"

[[bin]]
name = "yes"
Expand Down
2 changes: 1 addition & 1 deletion src/uucore/Cargo.toml
Expand Up @@ -34,7 +34,7 @@ os_display = "0.1.0"

[target.'cfg(unix)'.dependencies]
walkdir = { version="2.3.2", optional=true }
nix = { version="0.20", optional=true }
nix = { version="=0.23.0", optional=true }

[dev-dependencies]
clap = "2.33.3"
Expand Down

0 comments on commit b34efc8

Please sign in to comment.