diff --git a/tests/pass/libc.rs b/tests/pass/libc.rs index bb4841cced..2b52a3bef9 100644 --- a/tests/pass/libc.rs +++ b/tests/pass/libc.rs @@ -252,7 +252,6 @@ fn test_clocks() { assert_eq!(is_error, 0); } -#[cfg(target_os = "linux, macos")] fn test_getpid() { unsafe { assert_eq!(libc::getpid(), std::process::id()); @@ -282,6 +281,5 @@ fn main() { #[cfg(target_os = "linux")] test_clocks(); - #[cfg(target_os = "linux, macos")] test_getpid(); }