# wasm: update \`freeDecl\` and \`finishDecl\` · gitcafe/zig

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

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

Visibility: public

Requested revision: a028b10b9f8213f5f31c06b57cd18f9852f0df13

Requested commit: a028b10b9f8213f5f31c06b57cd18f9852f0df13

Commit: a028b10b9f8213f5f31c06b57cd18f9852f0df13

Tree: 42552ffd48fab110bae379ddcf98160501b935eb

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: update `freeDecl` and `finishDecl`

We now parse the decls right away into atoms and allocate the
corresponding linker-object, such as segment and function, rather than
waiting until `flushModule`.

```

## Parents

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

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