From: Samuel Thibault Date: Tue, 29 Aug 2023 20:03:20 +0000 (+0000) Subject: add hurd support X-Git-Tag: archive/raspbian/1.78.0+dfsg1-2+rpi1^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c340a0a7acfb6d1d675757a3dd7f6ffe6006bcd;p=rustc.git add hurd support Forwarded: https://github.com/rust-lang/socket2/pull/474 Gbp-Pq: Topic vendor Gbp-Pq: Name u-hurd-socket2.patch --- diff --git a/vendor/socket2/src/sockaddr.rs b/vendor/socket2/src/sockaddr.rs index 6df22fdcab..185f421d02 100644 --- a/vendor/socket2/src/sockaddr.rs +++ b/vendor/socket2/src/sockaddr.rs @@ -290,6 +290,7 @@ impl From for SockAddr { target_os = "freebsd", target_os = "haiku", target_os = "hermit", + target_os = "hurd", target_os = "ios", target_os = "macos", target_os = "netbsd", @@ -333,6 +334,7 @@ impl From for SockAddr { target_os = "freebsd", target_os = "haiku", target_os = "hermit", + target_os = "hurd", target_os = "ios", target_os = "macos", target_os = "netbsd", diff --git a/vendor/socket2/src/sys/unix.rs b/vendor/socket2/src/sys/unix.rs index 805b6d5594..1683ff2784 100644 --- a/vendor/socket2/src/sys/unix.rs +++ b/vendor/socket2/src/sys/unix.rs @@ -138,6 +138,7 @@ pub(crate) use libc::IP_HDRINCL; target_os = "aix", target_os = "dragonfly", target_os = "fuchsia", + target_os = "hurd", target_os = "illumos", target_os = "netbsd", target_os = "openbsd",