From 653007a0a5f56e74bcebdf7a1d391977c0467442 Mon Sep 17 00:00:00 2001 From: "Joshua M. Clulow" Date: Wed, 1 Jul 2020 10:37:09 -0700 Subject: [PATCH] uds: illumos can build using existing Solaris support (#2563) --- 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 92843e895..4e1f36383 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;