about summary refs log tree commit diff
path: root/library/std/src/sys_common/net.rs
diff options
context:
space:
mode:
authorAdam Gastineau <adam@agg.im>2024-03-18 20:45:45 -0700
committerAdam Gastineau <adam@agg.im>2024-03-18 20:45:45 -0700
commit4f6f433745077c9a0179d582ffa3851baf4d5c5f (patch)
tree0dae2f3a575762b24bb381a75f5150e22077d75c /library/std/src/sys_common/net.rs
parent21d94a3d2c63cacf8eaf9d0ca770c0b450c558d4 (diff)
downloadrust-4f6f433745077c9a0179d582ffa3851baf4d5c5f.tar.gz
rust-4f6f433745077c9a0179d582ffa3851baf4d5c5f.zip
Support for visionOS
Diffstat (limited to 'library/std/src/sys_common/net.rs')
-rw-r--r--library/std/src/sys_common/net.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys_common/net.rs b/library/std/src/sys_common/net.rs
index 581c46af0ea..b353ce2b090 100644
--- a/library/std/src/sys_common/net.rs
+++ b/library/std/src/sys_common/net.rs
@@ -18,7 +18,7 @@ use crate::ffi::{c_int, c_void};
 cfg_if::cfg_if! {
     if #[cfg(any(
         target_os = "dragonfly", target_os = "freebsd",
-        target_os = "ios", target_os = "tvos", target_os = "macos", target_os = "watchos",
+        target_os = "ios", target_os = "tvos", target_os = "macos", target_os = "watchos", target_os = "visionos",
         target_os = "openbsd", target_os = "netbsd", target_os = "illumos",
         target_os = "solaris", target_os = "haiku", target_os = "l4re", target_os = "nto"))] {
         use crate::sys::net::netc::IPV6_JOIN_GROUP as IPV6_ADD_MEMBERSHIP;