File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1707,7 +1707,7 @@ const Timer = struct {
1707
1707
/// Kevent is either kevent_s or kevent64_s depending on the target platform.
1708
1708
/// This lets us support both Mac and non-Mac platforms.
1709
1709
const Kevent = switch (builtin .os .tag ) {
1710
- .macos = > os .system .kevent64_s ,
1710
+ .ios , . macos = > os .system .kevent64_s ,
1711
1711
else = > @compileError ("kqueue not supported yet for target OS" ),
1712
1712
};
1713
1713
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ pub const Backend = enum {
37
37
pub fn default () Backend {
38
38
return @as (? Backend , switch (builtin .os .tag ) {
39
39
.linux = > .io_uring ,
40
- .macos = > .kqueue ,
40
+ .ios , . macos = > .kqueue ,
41
41
.wasi = > .wasi_poll ,
42
42
.windows = > .iocp ,
43
43
else = > null ,
You can’t perform that action at this time.
0 commit comments