Skip to content

Commit 94448a0

Browse files
committed
Update to libc 0.2.126, which has the definition of GRND_INSECURE.
1 parent 41f42d6 commit 94448a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ once_cell = { version = "1.5.2", optional = true }
4040
[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]
4141
linux-raw-sys = { version = "0.0.46", default-features = false, features = ["general", "errno", "ioctl", "no_std"] }
4242
libc_errno = { package = "errno", version = "0.2.8", default-features = false, optional = true }
43-
libc = { version = "0.2.118", features = ["extra_traits"], optional = true }
43+
libc = { version = "0.2.126", features = ["extra_traits"], optional = true }
4444

4545
# Dependencies for platforms where only libc is supported:
4646
#
4747
# On all other Unix-family platforms, and under Miri, we always use the libc
4848
# backend, so enable its dependencies unconditionally.
4949
[target.'cfg(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]
5050
libc_errno = { package = "errno", version = "0.2.8", default-features = false }
51-
libc = { version = "0.2.118", features = ["extra_traits"] }
51+
libc = { version = "0.2.126", features = ["extra_traits"] }
5252

5353
# Additional dependencies for Linux with the libc backend:
5454
#
@@ -69,7 +69,7 @@ features = [
6969

7070
[dev-dependencies]
7171
tempfile = "3.2.0"
72-
libc = "0.2.118"
72+
libc = "0.2.126"
7373
libc_errno = { package = "errno", version = "0.2.8" }
7474
io-lifetimes = { version = "0.7.0", default-features = false }
7575
# Don't upgrade to serial_test 0.7 for now because it depends on a

0 commit comments

Comments
 (0)