Skip to content

Commit 45eda42

Browse files
committed
uds: illumos can build using existing Solaris support
1 parent 048628b commit 45eda42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tokio-uds/src/ucred.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub use self::impl_linux::get_peer_cred;
2222
))]
2323
pub use self::impl_macos::get_peer_cred;
2424

25-
#[cfg(any(target_os = "solaris"))]
25+
#[cfg(any(target_os = "solaris", target_os = "illumos"))]
2626
pub use self::impl_solaris::get_peer_cred;
2727

2828
#[cfg(any(target_os = "linux", target_os = "android"))]
@@ -102,7 +102,7 @@ pub mod impl_macos {
102102
}
103103
}
104104

105-
#[cfg(any(target_os = "solaris"))]
105+
#[cfg(any(target_os = "solaris", target_os = "illumos"))]
106106
pub mod impl_solaris {
107107
use std::io;
108108
use std::os::unix::io::AsRawFd;

0 commit comments

Comments
 (0)