# wasm: initialize a \`ZigObject\` when required · gitcafe/zig

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

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

Visibility: public

Requested revision: 9b3c8fd3a8aef81f3a6face78f9e0b34508edc1b

Requested commit: 9b3c8fd3a8aef81f3a6face78f9e0b34508edc1b

Commit: 9b3c8fd3a8aef81f3a6face78f9e0b34508edc1b

Tree: 7026f5e6baf349298971e6dd3aa68cf0d8edb452

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: initialize a `ZigObject` when required

When we have a ZigCompileUnit and don't use LLVM, we initialize the
ZigObject which will encapsulate the Zig Module as an object file in-
memory. During initialization we also create symbols which the object
will need such as the stack pointer.

```

## Parents

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

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