aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-05-27 10:48:50 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-27 20:56:49 -0700
commitc9587d3e4013011b703ded68aefafba41550bbd7 (patch)
tree6ec76e9addfd6907a6ccf8f24d9a7ea8ac6bdb64 /src/main.zig
parent64c6a5092cc8910eb597e52b52e744de5e54ba7f (diff)
downloadzig-c9587d3e4013011b703ded68aefafba41550bbd7.tar.gz
zig-c9587d3e4013011b703ded68aefafba41550bbd7.zip
CLI: add missing call to root progress node end()
cleans up unwanted "LLVM Emit Object" being left on the screen
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig
index 3ee90671b2..a1a7260552 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -3411,6 +3411,7 @@ fn buildOutputType(
const root_prog_node = std.Progress.start(.{
.disable_printing = (color == .off),
});
+ defer root_prog_node.end();
updateModule(comp, color, root_prog_node) catch |err| switch (err) {
error.SemanticAnalyzeFail => {