# wasm-linker: Allocate atoms and handle imports · gitcafe/zig

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

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

Visibility: public

Requested revision: a4622501bdae96d43f26d1897c1f4de87b8daa31

Requested commit: a4622501bdae96d43f26d1897c1f4de87b8daa31

Commit: a4622501bdae96d43f26d1897c1f4de87b8daa31

Tree: f6894652cc4dcafce3d367a81d9b1fee64f3d209

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: Allocate atoms and handle imports

We now correctly allocate and create atoms for symbols from other object files.
Imports are now also resolved and appended when required.
Besides those changes, we now duplicate all symbol names, so we can correctly
generate unique names for unnamed constants.
TODO: String interning

```

## Parents

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

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