authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-05-27 10:48:50-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-05-27 20:56:49-07:00
logc9587d3e4013011b703ded68aefafba41550bbd7
tree6ec76e9addfd6907a6ccf8f24d9a7ea8ac6bdb64
parent64c6a5092cc8910eb597e52b52e744de5e54ba7f

CLI: add missing call to root progress node end()

cleans up unwanted "LLVM Emit Object" being left on the screen

1 files changed, 1 insertions(+), 0 deletions(-)

src/main.zig+1
...@@ -3411,6 +3411,7 @@ fn buildOutputType(...@@ -3411,6 +3411,7 @@ fn buildOutputType(
3411 const root_prog_node = std.Progress.start(.{3411 const root_prog_node = std.Progress.start(.{
3412 .disable_printing = (color == .off),3412 .disable_printing = (color == .off),
3413 });3413 });
3414 defer root_prog_node.end();
34143415
3415 updateModule(comp, color, root_prog_node) catch |err| switch (err) {3416 updateModule(comp, color, root_prog_node) catch |err| switch (err) {
3416 error.SemanticAnalyzeFail => {3417 error.SemanticAnalyzeFail => {