# wasm: Fix pointer to field of packed struct · gitcafe/zig

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

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

Visibility: public

Requested revision: df7ddb475e4c96bf44cc7e802c2c36efb8f38e89

Requested commit: df7ddb475e4c96bf44cc7e802c2c36efb8f38e89

Commit: df7ddb475e4c96bf44cc7e802c2c36efb8f38e89

Tree: d9e3214655e100c2cfbc2a93d896b96dc103c77f

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Fix pointer to field of packed struct

When requesting a pointer to a field of a packed struct (of which is
not byte-aligned), we simply provide the address of the packed struct
itself.

```

## Parents

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

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