From dcffcc6cc07833a2c5b2bf20b83c93776b018306 Mon Sep 17 00:00:00 2001 From: extrowerk Date: Mon, 3 Nov 2025 11:03:48 +0000 Subject: [PATCH] Illumos patches --- src/sys/mod.rs | 1 - src/sys/resource.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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))]