aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-12-08 22:37:01 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-12-08 22:37:01 -0700
commit7dd4afb224f4ca747b8eb462c28337ce9a63d38c (patch)
treee4e634ad79891ae089b7f02f417bf661824f6679 /src/Compilation.zig
parent4592fd26b937d8c7ff91295408d8377c1c13cf53 (diff)
downloadzig-7dd4afb224f4ca747b8eb462c28337ce9a63d38c.tar.gz
zig-7dd4afb224f4ca747b8eb462c28337ce9a63d38c.zip
stage2: link: properly implement passthrough mode for LLD child proc
passthrough mode does not mean always exit - it just means to pass through stdio and exit if the child process exits, without doing any special error reporting.
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index fbccb21557..572dc1e0d7 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -1804,7 +1804,7 @@ fn updateCObject(comp: *Compilation, c_object: *CObject, c_comp_progress_node: *
if (comp.clang_preprocessor_mode == .stdout)
std.process.exit(0);
},
- else => std.process.exit(1),
+ else => std.process.abort(),
}
} else {
child.stdin_behavior = .Ignore;