We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 585b880 commit d23b6d9Copy full SHA for d23b6d9
quinn/src/platform/unix.rs
@@ -71,7 +71,7 @@ impl super::UdpExt for UdpSocket {
71
Ok(())
72
}
73
74
- #[cfg(not(target_os = "macos"))]
+ #[cfg(not(any(target_os = "macos", target_os = "ios")))]
75
fn send_ext(&self, transmits: &[Transmit]) -> io::Result<usize> {
76
use crate::udp::BATCH_SIZE;
77
let mut msgs: [libc::mmsghdr; BATCH_SIZE] = unsafe { mem::zeroed() };
@@ -105,7 +105,7 @@ impl super::UdpExt for UdpSocket {
105
106
107
108
- #[cfg(target_os = "macos")]
+ #[cfg(any(target_os = "macos", target_os = "ios"))]
109
110
let mut hdr: libc::msghdr = unsafe { mem::zeroed() };
111
let mut iov: libc::iovec = unsafe { mem::zeroed() };
0 commit comments