authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-08 16:36:18-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-30 12:10:01-08:00
log13ef792cc6b52a2a7ca684eff48d09d7c2bdad37
treeab92e3be7a96d68533846b3ee1dbbf3abf2da4c5
parent3ef1266582115baac5fa1ca299092140f7574684

fix error set


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

lib/std/process/Child.zig+1-4
...@@ -125,10 +125,7 @@ pub fn wait(child: *Child, io: Io) WaitError!Term {...@@ -125,10 +125,7 @@ pub fn wait(child: *Child, io: Io) WaitError!Term {
125 return io.vtable.childWait(io.userdata, child);125 return io.vtable.childWait(io.userdata, child);
126}126}
127127
128pub const CollectOutputError = error{128pub const CollectOutputError = error{StreamTooLong} || Allocator.Error || Io.File.Reader.Error;
129 Timeout,
130 StreamTooLong,
131} || Allocator.Error || Io.File.Reader.Error;
132129
133pub const CollectOutputOptions = struct {130pub const CollectOutputOptions = struct {
134 stdout: *std.ArrayList(u8),131 stdout: *std.ArrayList(u8),