From 45eda426a42f259ba9a763e4f13ac766eb30b9aa Mon Sep 17 00:00:00 2001 From: "Joshua M. Clulow" Date: Sat, 13 Jun 2020 20:35:59 -0700 Subject: [PATCH] uds: illumos can build using existing Solaris support --- tokio-uds/src/ucred.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio-uds/src/ucred.rs b/tokio-uds/src/ucred.rs index 92843e89595..4e1f363830f 100644 --- a/tokio-uds/src/ucred.rs +++ b/tokio-uds/src/ucred.rs @@ -22,7 +22,7 @@ pub use self::impl_linux::get_peer_cred; ))] pub use self::impl_macos::get_peer_cred; -#[cfg(any(target_os = "solaris"))] +#[cfg(any(target_os = "solaris", target_os = "illumos"))] pub use self::impl_solaris::get_peer_cred; #[cfg(any(target_os = "linux", target_os = "android"))] @@ -102,7 +102,7 @@ pub mod impl_macos { } } -#[cfg(any(target_os = "solaris"))] +#[cfg(any(target_os = "solaris", target_os = "illumos"))] pub mod impl_solaris { use std::io; use std::os::unix::io::AsRawFd;