commit c9587d3e4013011b703ded68aefafba41550bbd7 (tree)
parent 64c6a5092cc8910eb597e52b52e744de5e54ba7f
Author: Andrew Kelley <andrew@ziglang.org>
Date: Mon, 27 May 2024 10:48:50 -0700
CLI: add missing call to root progress node end()
cleans up unwanted "LLVM Emit Object" being left on the screen
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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 => {