Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tokio-util/tests/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ use std::sync::Arc;
target_os = "macos",
target_os = "ios",
target_os = "tvos",
target_os = "watchos"
target_os = "watchos",
target_os = "visionos"
),
allow(unused_assignments)
)]
Expand Down Expand Up @@ -53,7 +54,8 @@ async fn send_framed_byte_codec() -> std::io::Result<()> {
target_os = "macos",
target_os = "ios",
target_os = "tvos",
target_os = "watchos"
target_os = "watchos",
target_os = "visionos"
)))]
// test sending & receiving an empty message
{
Expand Down
6 changes: 4 additions & 2 deletions tokio/src/net/unix/ucred.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ pub(crate) use self::impl_bsd::get_peer_cred;
target_os = "macos",
target_os = "ios",
target_os = "tvos",
target_os = "watchos"
target_os = "watchos",
target_os = "visionos"
))]
pub(crate) use self::impl_macos::get_peer_cred;

Expand Down Expand Up @@ -196,7 +197,8 @@ pub(crate) mod impl_bsd {
target_os = "macos",
target_os = "ios",
target_os = "tvos",
target_os = "watchos"
target_os = "watchos",
target_os = "visionos"
))]
pub(crate) mod impl_macos {
use crate::net::unix::{self, UnixStream};
Expand Down