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 {
17071707/// Kevent is either kevent_s or kevent64_s depending on the target platform.
17081708/// This lets us support both Mac and non-Mac platforms.
17091709const Kevent = switch (builtin .os .tag ) {
1710- .macos = > os .system .kevent64_s ,
1710+ .ios , . macos = > os .system .kevent64_s ,
17111711 else = > @compileError ("kqueue not supported yet for target OS" ),
17121712};
17131713
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ pub const Backend = enum {
3737 pub fn default () Backend {
3838 return @as (? Backend , switch (builtin .os .tag ) {
3939 .linux = > .io_uring ,
40- .macos = > .kqueue ,
40+ .ios , . macos = > .kqueue ,
4141 .wasi = > .wasi_poll ,
4242 .windows = > .iocp ,
4343 else = > null ,
You can’t perform that action at this time.
0 commit comments