1
Fork 0

Remove target_os, which does not have cmsghdr struct in libc

This commit is contained in:
LinkTed 2020-09-20 14:53:21 +02:00
parent 7b476d87fb
commit 1f6d7dcc0a
4 changed files with 0 additions and 12 deletions

View file

@ -24,7 +24,6 @@ use crate::sys::unix::ext::net::addr::{sockaddr_un, SocketAddr};
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
target_env = "uclibc",
))]
use crate::sys::unix::ext::net::ancillary::{
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary,
@ -536,7 +535,6 @@ impl UnixStream {
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
target_env = "uclibc",
))]
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
pub fn recv_vectored_with_ancillary(
@ -586,7 +584,6 @@ impl UnixStream {
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
target_env = "uclibc",
))]
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
pub fn send_vectored_with_ancillary(