mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-01 00:00:10 +02:00
uds: illumos can build using existing Solaris support (#2563)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user