diff --git a/src/sys/mod.rs b/src/sys/mod.rs index c17c7be39e..1136bdb6d2 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -96,7 +96,6 @@ feature! { #[cfg(not(any( target_os = "redox", target_os = "fuchsia", - solarish, target_os = "haiku" )))] feature! { diff --git a/src/sys/resource.rs b/src/sys/resource.rs index 449698dbe2..4868eac643 100644 --- a/src/sys/resource.rs +++ b/src/sys/resource.rs @@ -19,6 +19,7 @@ cfg_if! { bsd, target_os = "android", target_os = "aix", + target_os = "illumos", all(target_os = "linux", not(target_env = "gnu")), target_os = "cygwin" ))]{ @@ -50,6 +51,7 @@ libc_enum! { bsd, target_os = "android", target_os = "aix", + target_os = "illumos", all(target_os = "linux", not(any(target_env = "gnu", target_env = "uclibc"))), target_os = "cygwin" ), repr(i32))]