net: use null get_peer_cred on Hurd (#7989)

This commit is contained in:
Pino Toscano
2026-03-27 09:38:54 +01:00
committed by GitHub
parent a8435c0fc8
commit ee4de81806
+2 -2
View File
@@ -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;