# wasm-linker: correctly resolve exported symbols · gitcafe/zig

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

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

Visibility: public

Requested revision: 729f822e311f3bce1e7bd99bcf71937145451a4c

Requested commit: 729f822e311f3bce1e7bd99bcf71937145451a4c

Commit: 729f822e311f3bce1e7bd99bcf71937145451a4c

Tree: 48e61ad54dd9203cfcf73e4b63266066d56f4d4a

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: correctly resolve exported symbols

When compiling Zig code using the Wasm backend, we would previously
incorrectly resolve exported symbols as it would not correctly remove
existing symbols if they were to be overwritten. This meant that
undefined symbols could cause collisions although they should be
resolved by the exported symbol.

```

## Parents

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

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