authorgravatar for me@robbielyman.comRobbie Lyman <me@robbielyman.com> 2026-10-20 20:22:33-04:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-21 20:10:34+02:00
logff08725400468a106c29a6281f718a94fc57fac5
tree17012fc0ea67a94b45b8aa839e3861a9b2678522
parent332668cd6ea35ac3865b088a6345c7c1c171599a
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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
...@@ -464,6 +462,8 @@ pub fn io(ev: *Evented) Io {...@@ -464,6 +462,8 @@ pub fn io(ev: *Evented) Io {
464 .netInterfaceNameResolve = netInterfaceNameResolveUnavailable,462 .netInterfaceNameResolve = netInterfaceNameResolveUnavailable,
465 .netInterfaceName = netInterfaceNameUnavailable,463 .netInterfaceName = netInterfaceNameUnavailable,
466 .netLookup = netLookupUnavailable,464 .netLookup = netLookupUnavailable,
465 .inheritParentDir = Io.failingInheritParentDir,
466 .inheritParentFile = Io.failingInheritParentFile,
467 },467 },
468 };468 };
469}469}
...@@ -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"),