about summary refs log tree commit diff
path: root/library/std/src/sys/net/connection/socket.rs
diff options
context:
space:
mode:
author王宇逸 <Strawberry_Str@hotmail.com>2024-12-26 16:52:54 +0900
committer王宇逸 <Strawberry_Str@hotmail.com>2025-03-10 21:23:31 +0800
commitc9ccec93fa5e87f1363f0ce6edc897340e8c3884 (patch)
treea1ffb9dc01993eeeb09e71a164288b2e5b2c04ea /library/std/src/sys/net/connection/socket.rs
parent2b285cd5f0877e30ad1d83e04f8cc46254e43391 (diff)
downloadrust-c9ccec93fa5e87f1363f0ce6edc897340e8c3884.tar.gz
rust-c9ccec93fa5e87f1363f0ce6edc897340e8c3884.zip
Initial STD support for Cygwin
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
Diffstat (limited to 'library/std/src/sys/net/connection/socket.rs')
-rw-r--r--library/std/src/sys/net/connection/socket.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/sys/net/connection/socket.rs b/library/std/src/sys/net/connection/socket.rs
index e154cf039ca..7301bde6881 100644
--- a/library/std/src/sys/net/connection/socket.rs
+++ b/library/std/src/sys/net/connection/socket.rs
@@ -59,7 +59,8 @@ cfg_if::cfg_if! {
         target_os = "dragonfly", target_os = "freebsd",
         target_os = "openbsd", target_os = "netbsd",
         target_os = "solaris", target_os = "illumos",
-        target_os = "haiku", target_os = "nto"))] {
+        target_os = "haiku", target_os = "nto",
+        target_os = "cygwin"))] {
         use libc::MSG_NOSIGNAL;
     } else {
         const MSG_NOSIGNAL: c_int = 0x0;