Skip to content

Commit 0f3b6ca

Browse files
authored
build: update duplicate linux-raw-sys dependency to match existing (#1512)
Avoids 2 copies of linux-raw-sys being linked as dependecies.
1 parent 5dc84d4 commit 0f3b6ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ libc = { version = "0.2.171", default-features = false }
5050
# Some syscalls do not have libc wrappers, such as in `io_uring`. For these,
5151
# the libc backend uses the linux-raw-sys ABI and `libc::syscall`.
5252
[target.'cfg(all(any(target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))'.dependencies]
53-
linux-raw-sys = { version = "0.9.2", default-features = false, features = ["general", "ioctl", "no_std"] }
53+
linux-raw-sys = { version = "0.11.0", default-features = false, features = ["general", "ioctl", "no_std"] }
5454

5555
# For the libc backend on Windows, use the Winsock API in windows-sys.
5656
[target.'cfg(windows)'.dependencies.windows-sys]

0 commit comments

Comments
 (0)