Skip to content

Commit 66d10c8

Browse files
committed
Ignore other platforms instead of using only-linux
1 parent 8a75817 commit 66d10c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/run-pass/linux-getrandom.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// only-linux: Uses Linux-only APIs
2-
1+
// Unfortunately, compiletest_rs does not support 'only-linux',
2+
// so we need to ignore Windows and OS X instead
3+
// ignore-macos: Uses Linux-only APIs
4+
// ignore-windows: Uses Linux-only APIs
35
#![feature(rustc_private)]
46
extern crate libc;
57

0 commit comments

Comments
 (0)