authorgravatar for me@robbielyman.comRobbie Lyman <me@robbielyman.com> 2026-10-20 20:22:33-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-10-21 18:52:45+02:00
log755d09660d8886f77b089bb97157649d2fe65cf9
treefea8b5987a24f5e52ef75dc67ae966970ccff703
parent8f0c6ce407f96d04e9f4b7b66b2ce18134775969

fix(Io.Dispatch): synchronize with updates to VTable

This is a minimal set of changes to let a test program which uses Dispatch to sleep to compile.

1 files changed, 4 insertions(+), 2 deletions(-)

lib/std/Io/Dispatch.zig+4-2
......@@ -436,9 +436,7 @@ pub fn io(ev: *Evented) Io {
436436 .processSetCurrentDir = processSetCurrentDir,
437437 .processSetCurrentPath = processSetCurrentPath,
438438 .processReplace = processReplace,
439 .processReplacePath = processReplacePath,
440439 .processSpawn = processSpawn,
441 .processSpawnPath = processSpawnPath,
442440 .childWait = childWait,
443441 .childKill = childKill,
444442
......@@ -463,6 +461,8 @@ pub fn io(ev: *Evented) Io {
463461 .netInterfaceNameResolve = netInterfaceNameResolveUnavailable,
464462 .netInterfaceName = netInterfaceNameUnavailable,
465463 .netLookup = netLookupUnavailable,
464 .inheritParentDir = Io.failingInheritParentDir,
465 .inheritParentFile = Io.failingInheritParentFile,
466466 },
467467 };
468468}
......@@ -2134,6 +2134,7 @@ fn batchDrainSubmitted(
21342134 break :result null;
21352135 },
21362136 .device_io_control => {},
2137 .net_accept => @panic("TODO implement batched net_accept"),
21372138 .net_receive => @panic("TODO implement batched net_receive"),
21382139 .net_send => @panic("TODO implement batched net_send"),
21392140 .net_read => @panic("TODO implement batched net_read"),
......@@ -2196,6 +2197,7 @@ fn batchSourceEvent(context: ?*anyopaque) callconv(.c) void {
21962197 } };
21972198 },
21982199 .device_io_control => unreachable,
2200 .net_accept => @panic("TODO implement batched net_accept"),
21992201 .net_receive => @panic("TODO implement batched net_receive"),
22002202 .net_send => @panic("TODO implement batched net_send"),
22012203 .net_read => @panic("TODO implement batched net_read"),