From cdf5e35d7ca62e8786326d238e5e1ea47ec754a8 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 9 Sep 2025 20:55:00 +1000 Subject: [PATCH] build: update duplicate linux-raw-sys dependency to match existing Avoids 2 copies of linux-raw-sys being linked as dependecies. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 85462b6cd..a4ccd303a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ libc = { version = "0.2.171", default-features = false } # Some syscalls do not have libc wrappers, such as in `io_uring`. For these, # the libc backend uses the linux-raw-sys ABI and `libc::syscall`. [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] -linux-raw-sys = { version = "0.9.2", default-features = false, features = ["general", "ioctl", "no_std"] } +linux-raw-sys = { version = "0.11.0", default-features = false, features = ["general", "ioctl", "no_std"] } # For the libc backend on Windows, use the Winsock API in windows-sys. [target.'cfg(windows)'.dependencies.windows-sys]