commit b996675dcf5533e506eee0ed44c64aebab69af6e (tree)
parent e0d06b40e3681cc9aad09764987d079fb0f9e0fa
Author: Andrew Kelley <andrew@ziglang.org>
Date: Thu, 8 Jan 2026 16:36:18 -0800
fix error set
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lib/std/process/Child.zig b/lib/std/process/Child.zig
@@ -125,10 +125,7 @@ pub fn wait(child: *Child, io: Io) WaitError!Term {
return io.vtable.childWait(io.userdata, child);
}
-pub const CollectOutputError = error{
- Timeout,
- StreamTooLong,
-} || Allocator.Error || Io.File.Reader.Error;
+pub const CollectOutputError = error{StreamTooLong} || Allocator.Error || Io.File.Reader.Error;
pub const CollectOutputOptions = struct {
stdout: *std.ArrayList(u8),