# std: explicitly handle error.UnexpectedExitCode in build_runner · gitcafe/zig

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

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

Visibility: public

Requested revision: df544cace97b57b318dba439d4e67a3953388477

Requested commit: df544cace97b57b318dba439d4e67a3953388477

Commit: df544cace97b57b318dba439d4e67a3953388477

Tree: 96f3830cd7172d76e0a40c5e6f0b7b210fc7c87c

Author: iddev5

Committer: iddev5

## Message

```
std: explicitly handle error.UnexpectedExitCode in build_runner

RunStep on unexpected exit code used to return error.UncleanExit, which
was confusing and unclear. When it was changed, the error handling code
in build_runner was not modified, which produced an error trace.

This commit explicitly handles error.UnexpectedExitCode in build_runner
so that the behavior now matches that of zig 0.8.1 after which it was
regressed.

```

## Parents

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

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