From 6dd3625e45d3eb4c29000b04ad8c029e37e109f9 Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Sat, 8 Jul 2017 19:48:31 -0700 Subject: Enable ioctl on mips64 and s390x --- src/sys/ioctl/platform/linux.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/sys') diff --git a/src/sys/ioctl/platform/linux.rs b/src/sys/ioctl/platform/linux.rs index efdd17bb..cdf5b20a 100644 --- a/src/sys/ioctl/platform/linux.rs +++ b/src/sys/ioctl/platform/linux.rs @@ -1,7 +1,7 @@ pub const NRBITS: u32 = 8; pub const TYPEBITS: u32 = 8; -#[cfg(any(target_arch = "mips", target_arch = "powerpc", target_arch = "powerpc64"))] +#[cfg(any(target_arch = "mips", target_arch = "mips64", target_arch = "powerpc", target_arch = "powerpc64"))] mod consts { pub const NONE: u8 = 1; pub const READ: u8 = 2; @@ -12,16 +12,19 @@ mod consts { #[cfg(not(any(target_arch = "powerpc", target_arch = "mips", + target_arch = "mips64", target_arch = "x86", target_arch = "arm", target_arch = "x86_64", target_arch = "powerpc64", + target_arch = "s390x", target_arch = "aarch64")))] use this_arch_not_supported; // "Generic" ioctl protocol #[cfg(any(target_arch = "x86", target_arch = "arm", + target_arch = "s390x", target_arch = "x86_64", target_arch = "aarch64"))] mod consts { -- cgit v1.2.3