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

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

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

Visibility: public

Requested revision: f746e118795af8f8eb16deefc8f6fed26f3be4dd

Requested commit: f746e118795af8f8eb16deefc8f6fed26f3be4dd

Commit: f746e118795af8f8eb16deefc8f6fed26f3be4dd

Tree: 3749fb9bae897a3b5538c6d795bd4e67e8a8220d

Author: Casey Banner

Committer: GitHub

## 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

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

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