mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-17 00:00:11 +02:00
net: use null get_peer_cred on Hurd (#7989)
This commit is contained in:
@@ -62,7 +62,7 @@ pub(crate) use self::impl_solaris::get_peer_cred;
|
||||
#[cfg(target_os = "aix")]
|
||||
pub(crate) use self::impl_aix::get_peer_cred;
|
||||
|
||||
#[cfg(any(target_os = "espidf", target_os = "vita"))]
|
||||
#[cfg(any(target_os = "espidf", target_os = "vita", target_os = "hurd"))]
|
||||
pub(crate) use self::impl_noproc::get_peer_cred;
|
||||
|
||||
#[cfg(any(
|
||||
@@ -317,7 +317,7 @@ pub(crate) mod impl_aix {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(target_os = "espidf", target_os = "vita"))]
|
||||
#[cfg(any(target_os = "espidf", target_os = "vita", target_os = "hurd"))]
|
||||
pub(crate) mod impl_noproc {
|
||||
use crate::net::unix::UnixStream;
|
||||
use std::io;
|
||||
|
||||
Reference in New Issue
Block a user