mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 05:20:34 +00:00
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…
x
Reference in New Issue
Block a user