# wasm-linker: correctly resolve undefined functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 44b322ce6410a0fab7c3cbdfc35bb1530a31a304

Requested commit: 44b322ce6410a0fab7c3cbdfc35bb1530a31a304

Commit: 44b322ce6410a0fab7c3cbdfc35bb1530a31a304

Tree: 107b1088c72cd6a08abf3f25f07ae49e676d4831

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: correctly resolve undefined functions

We now resolve undefined symbols during incremental-compilation
where we discard the current symbol if we detect we found
an existing symbol which is not the one currently being updated.
The symbol will always be discarded in favor of the existing symbol
in such a case.

```

## Parents

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

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