# Initial support for structs in wasm backend · gitcafe/zig

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

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

Visibility: public

Requested revision: ac5fd47e2ee7c43a3ad7e5d0275d4e745152a9a3

Requested commit: ac5fd47e2ee7c43a3ad7e5d0275d4e745152a9a3

Commit: ac5fd47e2ee7c43a3ad7e5d0275d4e745152a9a3

Tree: b1b9f2d0f88d29b5b8ac4d12c6ffce84645a9a8c

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
Initial support for structs in wasm backend

- Creates a 'local' for the struct itself and each field
- The index of the local is calculated from the struct's local index + field index

```

## Parents

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

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