diff options
| author | Xavier Bouchoux <xavierb@gmail.com> | 2023-07-10 19:04:10 +0000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-07-11 00:17:08 -0700 |
| commit | 7a8002a5cf8e6607c1a2bfbd12fec3e60390fc71 (patch) | |
| tree | 6a05097ab20158a0f52afbfa85f9283fe3c6daaf /src/link/Coff | |
| parent | dbc560904aa5570648709cb392204f25884dddd8 (diff) | |
| download | zig-7a8002a5cf8e6607c1a2bfbd12fec3e60390fc71.tar.gz zig-7a8002a5cf8e6607c1a2bfbd12fec3e60390fc71.zip | |
remove arbitrary stderr size limit when spawning a child process tool
Diffstat (limited to 'src/link/Coff')
| -rw-r--r-- | src/link/Coff/lld.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Coff/lld.zig b/src/link/Coff/lld.zig index 6be20efe11..800b128081 100644 --- a/src/link/Coff/lld.zig +++ b/src/link/Coff/lld.zig @@ -545,7 +545,7 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod try child.spawn(); - const stderr = try child.stderr.?.reader().readAllAlloc(arena, 10 * 1024 * 1024); + const stderr = try child.stderr.?.reader().readAllAlloc(arena, std.math.maxInt(usize)); const term = child.wait() catch |err| { log.err("unable to spawn {s}: {s}", .{ argv.items[0], @errorName(err) }); |
