# compiler: update function accepts a std.Progress.Node · gitcafe/zig

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

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

Visibility: public

Requested revision: 8acbfafefb635390f6b4da102966b5c4a2f3332e

Requested commit: 8acbfafefb635390f6b4da102966b5c4a2f3332e

Commit: 8acbfafefb635390f6b4da102966b5c4a2f3332e

Tree: 41ec02736ae4053d5d4a6c782ea47b832b4e9d97

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
compiler: update function accepts a std.Progress.Node

This makes progress be exposed to the top-level caller of update().

I tossed in a bonus change: when the `zig build` subcommand sees exit
code 2, it omits the "following command failed" line, and the build
runner uses exit code 2 when there are compile errors. This tidies up
the output on build failure by a little bit.

```

## Parents

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

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