diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/sys/test_sockopt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_sockopt.rs b/test/sys/test_sockopt.rs index bf791688..a498bdfa 100644 --- a/test/sys/test_sockopt.rs +++ b/test/sys/test_sockopt.rs @@ -54,7 +54,7 @@ pub fn test_local_peercred_stream() { assert_eq!(Gid::from_raw(xucred.groups()[0]), Gid::current()); } -#[cfg(target_os = "macos")] +#[cfg(any(target_os = "ios", target_os = "macos"))] #[test] pub fn test_local_peer_pid() { use nix::sys::socket::socketpair; |