diff options
| author | 王宇逸 <Strawberry_Str@hotmail.com> | 2024-12-26 16:52:54 +0900 |
|---|---|---|
| committer | 王宇逸 <Strawberry_Str@hotmail.com> | 2025-03-10 21:23:31 +0800 |
| commit | c9ccec93fa5e87f1363f0ce6edc897340e8c3884 (patch) | |
| tree | a1ffb9dc01993eeeb09e71a164288b2e5b2c04ea /library/std/src/os/unix/net/stream.rs | |
| parent | 2b285cd5f0877e30ad1d83e04f8cc46254e43391 (diff) | |
| download | rust-c9ccec93fa5e87f1363f0ce6edc897340e8c3884.tar.gz rust-c9ccec93fa5e87f1363f0ce6edc897340e8c3884.zip | |
Initial STD support for Cygwin
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
Diffstat (limited to 'library/std/src/os/unix/net/stream.rs')
| -rw-r--r-- | library/std/src/os/unix/net/stream.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/os/unix/net/stream.rs b/library/std/src/os/unix/net/stream.rs index cb210b41eae..1cab04a454d 100644 --- a/library/std/src/os/unix/net/stream.rs +++ b/library/std/src/os/unix/net/stream.rs @@ -10,6 +10,7 @@ use super::{SocketAncillary, recv_vectored_with_ancillary_from, send_vectored_wi target_os = "openbsd", target_os = "nto", target_vendor = "apple", + target_os = "cygwin" ))] use super::{UCred, peer_cred}; use crate::fmt; @@ -231,6 +232,7 @@ impl UnixStream { target_os = "openbsd", target_os = "nto", target_vendor = "apple", + target_os = "cygwin" ))] pub fn peer_cred(&self) -> io::Result<UCred> { peer_cred(self) |
