about summary refs log tree commit diff
path: root/library/std/src/sys/unix/net.rs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-19 12:41:30 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-21 17:31:25 +0200
commitdcea7709f2ce1be35ba241e923850b1099ceb906 (patch)
treecba79acb5e56b9bb2de8f75a3ad7510410e0f101 /library/std/src/sys/unix/net.rs
parentae9c330629f1fb03a636cb8af367fead024793db (diff)
downloadrust-dcea7709f2ce1be35ba241e923850b1099ceb906.tar.gz
rust-dcea7709f2ce1be35ba241e923850b1099ceb906.zip
added support for GNU/Hurd
Diffstat (limited to 'library/std/src/sys/unix/net.rs')
-rw-r--r--library/std/src/sys/unix/net.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/net.rs b/library/std/src/sys/unix/net.rs
index 48f163b6db0..f450d708dae 100644
--- a/library/std/src/sys/unix/net.rs
+++ b/library/std/src/sys/unix/net.rs
@@ -75,6 +75,7 @@ impl Socket {
                     target_os = "dragonfly",
                     target_os = "freebsd",
                     target_os = "illumos",
+                    target_os = "hurd",
                     target_os = "linux",
                     target_os = "netbsd",
                     target_os = "openbsd",
@@ -114,6 +115,7 @@ impl Socket {
                     target_os = "freebsd",
                     target_os = "illumos",
                     target_os = "linux",
+                    target_os = "hurd",
                     target_os = "netbsd",
                     target_os = "openbsd",
                     target_os = "nto",
@@ -220,6 +222,7 @@ impl Socket {
                 target_os = "freebsd",
                 target_os = "illumos",
                 target_os = "linux",
+                target_os = "hurd",
                 target_os = "netbsd",
                 target_os = "openbsd",
             ))] {