# wasm: re-implement \`updateExports\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 8f96e7eec1b2af005e17bf21f91fc91add92d7dd

Requested commit: 8f96e7eec1b2af005e17bf21f91fc91add92d7dd

Commit: 8f96e7eec1b2af005e17bf21f91fc91add92d7dd

Tree: 700d2e8440f4a111e5ad5687335124bc8f0a2010

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: re-implement `updateExports`

We now correctly create a symbol for each exported decl with its export-
name. The symbol points to the same linker-object. We store a map from
decl to all of its exports so we can update exports if it already exists
rather than infinitely create new exports.

```

## Parents

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

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