From 960199daf9f395096b08dc24aa0337cb5b93da81 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 15 Jan 2023 22:41:33 +0100 Subject: Try enabling LocalPeerPid for ios --- test/sys/test_sockopt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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; -- cgit v1.2.3