Skip to content

Commit 707742b

Browse files
authored
Update to libc 0.2.144 (#667)
It has the definition of `FICLONE` for LoongArch.
1 parent bff1d53 commit 707742b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ once_cell = { version = "1.5.2", optional = true }
4141
[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]
4242
linux-raw-sys = { version = "0.3.6", default-features = false, features = ["general", "errno", "ioctl", "no_std"] }
4343
libc_errno = { package = "errno", version = "0.3.1", default-features = false, optional = true }
44-
libc = { version = "0.2.142", features = ["extra_traits"], optional = true }
44+
libc = { version = "0.2.144", features = ["extra_traits"], optional = true }
4545

4646
# Dependencies for platforms where only libc is supported:
4747
#
4848
# On all other Unix-family platforms, and under Miri, we always use the libc
4949
# backend, so enable its dependencies unconditionally.
5050
[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]
5151
libc_errno = { package = "errno", version = "0.3.1", default-features = false }
52-
libc = { version = "0.2.142", features = ["extra_traits"] }
52+
libc = { version = "0.2.144", features = ["extra_traits"] }
5353

5454
# Additional dependencies for Linux with the libc backend:
5555
#
@@ -77,7 +77,7 @@ default-features = false
7777

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

0 commit comments

Comments
 (0)