# wasm: move Zig module-linkage to ZigObject · gitcafe/zig

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

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

Visibility: public

Requested revision: ba0e84a411074fe661b7df14edb2595267edcd30

Requested commit: ba0e84a411074fe661b7df14edb2595267edcd30

Commit: ba0e84a411074fe661b7df14edb2595267edcd30

Tree: ce303dc35caa8dacf481836e7e9fd2c428814be3

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: move Zig module-linkage to ZigObject

Rather than specializing the linker-driver to be able to handle objects
generated by a ZCU, we store all data in-memory in ZigObject. ZigObject
acts more like a regular object file which will allow us to treat it
as us. This will make linking much more simple, but will also reduce
the complexity of incremental-linking as we can simply update ZigObject
and relink it.

```

## Parents

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

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