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

cleans up unwanted "LLVM Emit Object" being left on the screen
This commit is contained in:
Andrew Kelley 2024-05-27 10:48:50 -07:00
parent 64c6a5092c
commit c9587d3e40

View File

@ -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 => {