Skip to content

Commit

Permalink
try to fix windows build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Feb 20, 2025
1 parent ec69d48 commit f0c845b
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions src/watcher/file.zig
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,7 @@ fn FileTests(
) type {
return struct {
test "kqueue: zero-length read for readiness" {
if (!std.mem.eql(
u8,
@tagName(xev.backend),
"kqueue",
)) return error.SkipZigTest;
if (builtin.os.tag != .macos) return error.SkipZigTest;

const testing = std.testing;

Expand Down Expand Up @@ -536,16 +532,8 @@ fn FileTests(
}

test "poll" {
if (std.mem.eql(
u8,
@tagName(xev.backend),
"wasi_poll",
)) return error.SkipZigTest;
if (std.mem.eql(
u8,
@tagName(xev.backend),
"iocp",
)) return error.SkipZigTest;
if (builtin.os.tag == .wasi) return error.SkipZigTest;
if (builtin.os.tag == .windows) return error.SkipZigTest;

const testing = std.testing;

Expand Down

0 comments on commit f0c845b

Please sign in to comment.