fix windows trying to run linux-only tests
This commit is contained in:
parent
ca87f55a7b
commit
a890380b6a
|
@ -811,5 +811,9 @@ pub fn timerfd_settime(fd: i32, flags: u32, new_value: &const itimerspec, old_va
|
|||
}
|
||||
|
||||
test "import linux_test" {
|
||||
_ = @import("linux_test.zig");
|
||||
// TODO lazy analysis should prevent this test from being compiled on windows, but
|
||||
// it is still compiled on windows
|
||||
if (builtin.os == builtin.Os.linux) {
|
||||
_ = @import("linux_test.zig");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user