Skip to content

Commit

Permalink
Update to libc 0.2.144 (#667)
Browse files Browse the repository at this point in the history
It has the definition of `FICLONE` for LoongArch.
  • Loading branch information
heiher authored May 8, 2023
1 parent bff1d53 commit 707742b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ once_cell = { version = "1.5.2", optional = true }
[target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))'.dependencies]
linux-raw-sys = { version = "0.3.6", default-features = false, features = ["general", "errno", "ioctl", "no_std"] }
libc_errno = { package = "errno", version = "0.3.1", default-features = false, optional = true }
libc = { version = "0.2.142", features = ["extra_traits"], optional = true }
libc = { version = "0.2.144", features = ["extra_traits"], optional = true }

# Dependencies for platforms where only libc is supported:
#
# On all other Unix-family platforms, and under Miri, we always use the libc
# backend, so enable its dependencies unconditionally.
[target.'cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))'.dependencies]
libc_errno = { package = "errno", version = "0.3.1", default-features = false }
libc = { version = "0.2.142", features = ["extra_traits"] }
libc = { version = "0.2.144", features = ["extra_traits"] }

# Additional dependencies for Linux with the libc backend:
#
Expand Down Expand Up @@ -77,7 +77,7 @@ default-features = false

[dev-dependencies]
tempfile = "3.4.0"
libc = "0.2.142"
libc = "0.2.144"
libc_errno = { package = "errno", version = "0.3.1", default-features = false }
io-lifetimes = { version = "1.0.10", default-features = false, features = ["close"] }
# Don't upgrade to serial_test 0.7 for now because it depends on a
Expand Down

0 comments on commit 707742b

Please sign in to comment.