diff options
| author | LinkTed <LinkTed@users.noreply.github.com> | 2020-09-20 14:44:03 +0200 |
|---|---|---|
| committer | LinkTed <LinkTed@users.noreply.github.com> | 2020-10-10 15:19:12 +0200 |
| commit | 7b476d87fbdd678f0a580f90193938e787d0ce99 (patch) | |
| tree | 26e571781e8e24fc64f7971a63fdb66773f3c1a4 /library/std/src/sys/unix/ext/net/tests.rs | |
| parent | db902bca3a2dfeb449fc42149575d476c85d7fed (diff) | |
| download | rust-7b476d87fbdd678f0a580f90193938e787d0ce99.tar.gz rust-7b476d87fbdd678f0a580f90193938e787d0ce99.zip | |
Remove `target_os`, which does not have `MSG_CMSG_CLOEXEC` constant in `libc`
Diffstat (limited to 'library/std/src/sys/unix/ext/net/tests.rs')
| -rw-r--r-- | library/std/src/sys/unix/ext/net/tests.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/ext/net/tests.rs b/library/std/src/sys/unix/ext/net/tests.rs index 6cb2e729143..7690590b68b 100644 --- a/library/std/src/sys/unix/ext/net/tests.rs +++ b/library/std/src/sys/unix/ext/net/tests.rs @@ -557,6 +557,17 @@ fn test_send_vectored_with_ancillary_to_unix_datagram() { } } +#[cfg(any( + doc, + target_os = "android", + target_os = "dragonfly", + target_os = "emscripten", + target_os = "freebsd", + target_os = "linux", + target_os = "netbsd", + target_os = "openbsd", + target_env = "uclibc", +))] #[test] fn test_send_vectored_with_ancillary_unix_datagram() { let dir = tmpdir(); |
