Remove target_os
, which does not have cmsghdr
struct in libc
This commit is contained in:
parent
7b476d87fb
commit
1f6d7dcc0a
4 changed files with 0 additions and 12 deletions
|
@ -12,7 +12,6 @@ use crate::sys::unix::ext::net::addr::{sockaddr_un, SocketAddr};
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
use crate::sys::unix::ext::net::ancillary::{
|
use crate::sys::unix::ext::net::ancillary::{
|
||||||
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary,
|
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary,
|
||||||
|
@ -364,7 +363,6 @@ impl UnixDatagram {
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
||||||
pub fn recv_vectored_with_ancillary_from(
|
pub fn recv_vectored_with_ancillary_from(
|
||||||
|
@ -422,7 +420,6 @@ impl UnixDatagram {
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
||||||
pub fn recv_vectored_with_ancillary(
|
pub fn recv_vectored_with_ancillary(
|
||||||
|
@ -529,7 +526,6 @@ impl UnixDatagram {
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
||||||
pub fn send_vectored_with_ancillary_to<P: AsRef<Path>>(
|
pub fn send_vectored_with_ancillary_to<P: AsRef<Path>>(
|
||||||
|
@ -578,7 +574,6 @@ impl UnixDatagram {
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
||||||
pub fn send_vectored_with_ancillary(
|
pub fn send_vectored_with_ancillary(
|
||||||
|
|
|
@ -11,7 +11,6 @@ mod addr;
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
)))]
|
)))]
|
||||||
#[cfg(any(
|
#[cfg(any(
|
||||||
doc,
|
doc,
|
||||||
|
@ -22,7 +21,6 @@ mod addr;
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
mod ancillary;
|
mod ancillary;
|
||||||
mod datagram;
|
mod datagram;
|
||||||
|
@ -42,7 +40,6 @@ pub use self::addr::*;
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
||||||
pub use self::ancillary::*;
|
pub use self::ancillary::*;
|
||||||
|
|
|
@ -24,7 +24,6 @@ use crate::sys::unix::ext::net::addr::{sockaddr_un, SocketAddr};
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
use crate::sys::unix::ext::net::ancillary::{
|
use crate::sys::unix::ext::net::ancillary::{
|
||||||
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary,
|
recv_vectored_with_ancillary_from, send_vectored_with_ancillary_to, SocketAncillary,
|
||||||
|
@ -536,7 +535,6 @@ impl UnixStream {
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
||||||
pub fn recv_vectored_with_ancillary(
|
pub fn recv_vectored_with_ancillary(
|
||||||
|
@ -586,7 +584,6 @@ impl UnixStream {
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")]
|
||||||
pub fn send_vectored_with_ancillary(
|
pub fn send_vectored_with_ancillary(
|
||||||
|
|
|
@ -566,7 +566,6 @@ fn test_send_vectored_with_ancillary_to_unix_datagram() {
|
||||||
target_os = "linux",
|
target_os = "linux",
|
||||||
target_os = "netbsd",
|
target_os = "netbsd",
|
||||||
target_os = "openbsd",
|
target_os = "openbsd",
|
||||||
target_env = "uclibc",
|
|
||||||
))]
|
))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_send_vectored_with_ancillary_unix_datagram() {
|
fn test_send_vectored_with_ancillary_unix_datagram() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue