Skip to content

Commit

Permalink
uds: illumos can build using existing Solaris support (#2563)
Browse files Browse the repository at this point in the history
  • Loading branch information
jclulow authored Jul 1, 2020
1 parent 048628b commit 653007a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokio-uds/src/ucred.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))]
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 653007a

Please sign in to comment.