# wasm: Implement opt_payload_ptr · gitcafe/zig

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

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

Visibility: public

Requested revision: 685f05b562b1e5d001ae2da23485c03b704d19f6

Requested commit: 685f05b562b1e5d001ae2da23485c03b704d19f6

Commit: 685f05b562b1e5d001ae2da23485c03b704d19f6

Tree: fbf6e9697e10d6405807e7813150c5228e168250

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Implement opt_payload_ptr

Implements lowering constants for pointers of value 'opt_payload_ptr'.
The offset is calculated by determining the abi size of the full type and
then substracting the payload size.

```

## Parents

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

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