about summary refs log tree commit diff
path: root/library/std/src/sys/unix/ext/net/tests.rs
diff options
context:
space:
mode:
authorLinkTed <LinkTed@users.noreply.github.com>2020-09-20 14:44:03 +0200
committerLinkTed <LinkTed@users.noreply.github.com>2020-10-10 15:19:12 +0200
commit7b476d87fbdd678f0a580f90193938e787d0ce99 (patch)
tree26e571781e8e24fc64f7971a63fdb66773f3c1a4 /library/std/src/sys/unix/ext/net/tests.rs
parentdb902bca3a2dfeb449fc42149575d476c85d7fed (diff)
downloadrust-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.rs11
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();