# linker: fail the compilation if there were linker errors · gitcafe/zig

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

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

Visibility: public

Requested revision: 90fedf24fcec4bd7a9e71be100e0ae73c7245b33

Requested commit: 90fedf24fcec4bd7a9e71be100e0ae73c7245b33

Commit: 90fedf24fcec4bd7a9e71be100e0ae73c7245b33

Tree: 19b69f8409a471b8070e5711c729f5463e5822d8

Author: Casey Banner

Committer: Andrew Kelley

## Message

```
linker: fail the compilation if there were linker errors

There was no check for linker errors after flushing,
which meant that if the link failed the build would
continue and try to copy the non-existant exe, and
also write the manifest as if it had succeeded.

Also adds parsing of lld output, which is surfaced at the
end of the compilation with the other errors instead
of via stderr
```

## Parents

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

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