aboutsummaryrefslogtreecommitdiff
path: root/src/link/Coff
diff options
context:
space:
mode:
authorXavier Bouchoux <xavierb@gmail.com>2023-07-10 19:04:10 +0000
committerAndrew Kelley <andrew@ziglang.org>2023-07-11 00:17:08 -0700
commit7a8002a5cf8e6607c1a2bfbd12fec3e60390fc71 (patch)
tree6a05097ab20158a0f52afbfa85f9283fe3c6daaf /src/link/Coff
parentdbc560904aa5570648709cb392204f25884dddd8 (diff)
downloadzig-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.zig2
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) });