From 1c340a0a7acfb6d1d675757a3dd7f6ffe6006bcd Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 29 Aug 2023 20:03:20 +0000 Subject: [PATCH] add hurd support Forwarded: https://github.com/rust-lang/socket2/pull/474 Gbp-Pq: Topic vendor Gbp-Pq: Name u-hurd-socket2.patch --- vendor/socket2/src/sockaddr.rs | 2 ++ vendor/socket2/src/sys/unix.rs | 1 + 2 files changed, 3 insertions(+) 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", -- 2.30.2