# wasm: integrate linker errors with \`Compilation\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 5ba5a2c133be5e06083f088aa875ff18658fbf8c

Requested commit: 5ba5a2c133be5e06083f088aa875ff18658fbf8c

Commit: 5ba5a2c133be5e06083f088aa875ff18658fbf8c

Tree: fb79714cf6bbc5a519bbd7480a7ca32d6f2f4dc5

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: integrate linker errors with `Compilation`

Rather than using the logger, we now emit proper 'compiler'-errors just
like the ELF and MachO linkers with notes. We now also support emitting
multiple errors before quiting the linking process in certain phases,
such as symbol resolution. This means we will print all symbols which
were resolved incorrectly, rather than the first one we encounter.

```

## Parents

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

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