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 {...@@ -436,9 +436,7 @@ pub fn io(ev: *Evented) Io {
436 .processSetCurrentDir = processSetCurrentDir,436 .processSetCurrentDir = processSetCurrentDir,
437 .processSetCurrentPath = processSetCurrentPath,437 .processSetCurrentPath = processSetCurrentPath,
438 .processReplace = processReplace,438 .processReplace = processReplace,
439 .processReplacePath = processReplacePath,
440 .processSpawn = processSpawn,439 .processSpawn = processSpawn,
441 .processSpawnPath = processSpawnPath,
442 .childWait = childWait,440 .childWait = childWait,
443 .childKill = childKill,441 .childKill = childKill,
444442
...@@ -463,6 +461,8 @@ pub fn io(ev: *Evented) Io {...@@ -463,6 +461,8 @@ pub fn io(ev: *Evented) Io {
463 .netInterfaceNameResolve = netInterfaceNameResolveUnavailable,461 .netInterfaceNameResolve = netInterfaceNameResolveUnavailable,
464 .netInterfaceName = netInterfaceNameUnavailable,462 .netInterfaceName = netInterfaceNameUnavailable,
465 .netLookup = netLookupUnavailable,463 .netLookup = netLookupUnavailable,
464 .inheritParentDir = Io.failingInheritParentDir,
465 .inheritParentFile = Io.failingInheritParentFile,
466 },466 },
467 };467 };
468}468}
...@@ -2134,6 +2134,7 @@ fn batchDrainSubmitted(...@@ -2134,6 +2134,7 @@ fn batchDrainSubmitted(
2134 break :result null;2134 break :result null;
2135 },2135 },
2136 .device_io_control => {},2136 .device_io_control => {},
2137 .net_accept => @panic("TODO implement batched net_accept"),
2137 .net_receive => @panic("TODO implement batched net_receive"),2138 .net_receive => @panic("TODO implement batched net_receive"),
2138 .net_send => @panic("TODO implement batched net_send"),2139 .net_send => @panic("TODO implement batched net_send"),
2139 .net_read => @panic("TODO implement batched net_read"),2140 .net_read => @panic("TODO implement batched net_read"),
...@@ -2196,6 +2197,7 @@ fn batchSourceEvent(context: ?*anyopaque) callconv(.c) void {...@@ -2196,6 +2197,7 @@ fn batchSourceEvent(context: ?*anyopaque) callconv(.c) void {
2196 } };2197 } };
2197 },2198 },
2198 .device_io_control => unreachable,2199 .device_io_control => unreachable,
2200 .net_accept => @panic("TODO implement batched net_accept"),
2199 .net_receive => @panic("TODO implement batched net_receive"),2201 .net_receive => @panic("TODO implement batched net_receive"),
2200 .net_send => @panic("TODO implement batched net_send"),2202 .net_send => @panic("TODO implement batched net_send"),
2201 .net_read => @panic("TODO implement batched net_read"),2203 .net_read => @panic("TODO implement batched net_read"),