@@ -33,7 +33,7 @@ rustc-std-workspace-alloc = { version = "1.0.0", optional = true } # not aliased
3333# libc backend can be selected via adding `--cfg=rustix_use_libc` to
3434# `RUSTFLAGS` or enabling the `use-libc` cargo feature.
3535[target .'cfg(all(not(rustix_use_libc), not(miri), 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 ]
36- linux-raw-sys = { version = " 0.11.0 " , default-features = false , features = [" auxvec" , " general" , " errno" , " ioctl" , " no_std" , " elf" ] }
36+ linux-raw-sys = { git = " https://github.com/forkgull/linux-raw-sys " , branch = " notgull/vsock " , default-features = false , features = [" auxvec" , " general" , " errno" , " ioctl" , " no_std" , " elf" ] }
3737libc_errno = { package = " errno" , version = " 0.3.10" , default-features = false , optional = true }
3838libc = { version = " 0.2.177" , default-features = false , optional = true }
3939
@@ -50,7 +50,7 @@ libc = { version = "0.2.177", 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.11.0 " , default-features = false , features = [" general" , " ioctl" , " no_std" ] }
53+ linux-raw-sys = { git = " https://github.com/forkgull/linux-raw-sys " , branch = " notgull/vsock " , 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 ]
@@ -132,7 +132,7 @@ io_uring = ["event", "fs", "net", "thread", "linux-raw-sys/io_uring"]
132132mount = []
133133
134134# Enable `rustix::net::*`.
135- net = [" linux-raw-sys/net" , " linux-raw-sys/netlink" , " linux-raw-sys/if_ether" , " linux-raw-sys/xdp" ]
135+ net = [" linux-raw-sys/net" , " linux-raw-sys/netlink" , " linux-raw-sys/if_ether" , " linux-raw-sys/vm_sockets " , " linux-raw-sys/ xdp" ]
136136
137137# Enable `rustix::thread::*`.
138138thread = [" linux-raw-sys/prctl" ]
0 commit comments