@@ -35,7 +35,7 @@ once_cell = { version = "1.5.2", optional = true }
3535# addition to the libc backend. The linux_raw backend is used by default. The
3636# libc backend can be selected via adding `--cfg=rustix_use_libc` to
3737# `RUSTFLAGS` or enabling the `use-libc` cargo feature.
38- [target .'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), 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 ]
38+ [target .'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any( target_endian = "little", target_arch = "s390x"), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", 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 ]
3939linux-raw-sys = { version = " 0.4.14" , default-features = false , features = [" general" , " errno" , " ioctl" , " no_std" , " elf" ] }
4040libc_errno = { package = " errno" , version = " 0.3.8" , default-features = false , optional = true }
4141libc = { version = " 0.2.156" , default-features = false , optional = true }
@@ -44,15 +44,15 @@ libc = { version = "0.2.156", default-features = false, optional = true }
4444#
4545# On all other Unix-family platforms, and under Miri, we always use the libc
4646# backend, so enable its dependencies unconditionally.
47- [target .'cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), 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 ]
47+ [target .'cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any( target_endian = "little", target_arch = "s390x"), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", 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 ]
4848libc_errno = { package = " errno" , version = " 0.3.8" , default-features = false }
4949libc = { version = " 0.2.156" , default-features = false }
5050
5151# Additional dependencies for Linux with the libc backend:
5252#
5353# Some syscalls do not have libc wrappers, such as in `io_uring`. For these,
5454# the libc backend uses the linux-raw-sys ABI and `libc::syscall`.
55- [target .'cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), 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 ]
55+ [target .'cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any( target_endian = "little", target_arch = "s390x"), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", 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 ]
5656linux-raw-sys = { version = " 0.4.14" , default-features = false , features = [" general" , " ioctl" , " no_std" ] }
5757
5858# For the libc backend on Windows, use the Winsock API in windows-sys.
0 commit comments