From dd0a99001ea2607c9914b882b0b6a10fa22c5375 Mon Sep 17 00:00:00 2001 From: Nick Pelone Date: Tue, 26 May 2020 15:20:39 -0400 Subject: Fix build on OpenBSD caused by erroneous inclusion in allowed OS list for sendmmsg() / recvmmsg() in #1208. In #1208, sendmmsg() / recvmmsg() were added, but OpenBSD(who doesn't support these) was included on the list of allowed operating systems for sendmmsg() related things. This broke the build on OpenBSD. For more Rust-world examples, see: https://github.com/rust-lang/libc/commit/6f6297301d49ff67b8ca044d651f36a56950298c --- src/sys/socket/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs index 52768c93..a3c0d128 100644 --- a/src/sys/socket/mod.rs +++ b/src/sys/socket/mod.rs @@ -920,7 +920,6 @@ pub fn sendmsg(fd: RawFd, iov: &[IoVec<&[u8]>], cmsgs: &[ControlMessage], target_os = "linux", target_os = "android", target_os = "freebsd", - target_os = "openbsd", target_os = "netbsd", ))] #[derive(Debug)] @@ -956,7 +955,6 @@ pub struct SendMmsgData<'a, I, C> target_os = "linux", target_os = "android", target_os = "freebsd", - target_os = "openbsd", target_os = "netbsd", ))] pub fn sendmmsg<'a, I, C>( -- cgit v1.2.3