We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2494978 commit 4e67818Copy full SHA for 4e67818
src/backend/kqueue.zig
@@ -1707,7 +1707,7 @@ const Timer = struct {
1707
/// Kevent is either kevent_s or kevent64_s depending on the target platform.
1708
/// This lets us support both Mac and non-Mac platforms.
1709
const Kevent = switch (builtin.os.tag) {
1710
- .macos => os.system.kevent64_s,
+ .ios, .macos => os.system.kevent64_s,
1711
else => @compileError("kqueue not supported yet for target OS"),
1712
};
1713
src/main.zig
@@ -37,7 +37,7 @@ pub const Backend = enum {
37
pub fn default() Backend {
38
return @as(?Backend, switch (builtin.os.tag) {
39
.linux => .io_uring,
40
- .macos => .kqueue,
+ .ios, .macos => .kqueue,
41
.wasi => .wasi_poll,
42
.windows => .iocp,
43
else => null,
0 commit comments