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