| ... | @@ -298,7 +298,9 @@ pub const ChildProcess = struct { | ... | @@ -298,7 +298,9 @@ pub const ChildProcess = struct { |
| 298 | // we could make this work with multiple allocators but YAGNI | 298 | // we could make this work with multiple allocators but YAGNI |
| 299 | if (stdout.allocator.ptr != stderr.allocator.ptr or | 299 | if (stdout.allocator.ptr != stderr.allocator.ptr or |
| 300 | stdout.allocator.vtable != stderr.allocator.vtable) | 300 | stdout.allocator.vtable != stderr.allocator.vtable) |
| 301 | @panic("ChildProcess.collectOutput only supports 1 allocator"); | 301 | { |
| | 302 | unreachable; // ChildProcess.collectOutput only supports 1 allocator |
| | 303 | } |
| 302 | | 304 | |
| 303 | var poller = std.io.poll(stdout.allocator, enum { stdout, stderr }, .{ | 305 | var poller = std.io.poll(stdout.allocator, enum { stdout, stderr }, .{ |
| 304 | .stdout = child.stdout.?, | 306 | .stdout = child.stdout.?, |