Skip to content

Commit 1fe7ae8

Browse files
committed
Fix invalid cfg flags
1 parent c7c220a commit 1fe7ae8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/pass/libc.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ fn test_clocks() {
252252
assert_eq!(is_error, 0);
253253
}
254254

255-
#[cfg(target_os = "linux, macos")]
256255
fn test_getpid() {
257256
unsafe {
258257
assert_eq!(libc::getpid(), std::process::id());
@@ -282,6 +281,5 @@ fn main() {
282281
#[cfg(target_os = "linux")]
283282
test_clocks();
284283

285-
#[cfg(target_os = "linux, macos")]
286284
test_getpid();
287285
}

0 commit comments

Comments
 (0)