# compiler: improve progress output · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/71baa5e769b3b82468736a60e0725a94da9be4e9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 71baa5e769b3b82468736a60e0725a94da9be4e9

Requested commit: 71baa5e769b3b82468736a60e0725a94da9be4e9

Commit: 71baa5e769b3b82468736a60e0725a94da9be4e9

Tree: 34831cde53f7e9908877f3dbcf926185eb0f1a70

Author: mlugg

Committer: mlugg

## Message

```
compiler: improve progress output

Update the estimated total items for the codegen and link progress nodes
earlier. Rather than waiting for the main thread to dispatch the tasks,
we can add the item to the estimated total as soon as we queue the main
task. The only difference is we need to complete it even in error cases.

```

## Parents

- [5bb5aaf932b8ed30aebfbb0036e1532abfc6af46](https://git.cafe/gitcafe/zig/commit/5bb5aaf932b8ed30aebfbb0036e1532abfc6af46?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/71baa5e769b3b82468736a60e0725a94da9be4e9?format=markdown)
