# wasm: pass correct abi-size for scalar values · gitcafe/zig

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

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

Visibility: public

Requested revision: bf28a47cf23a60539f7cc6cb87309d1a7fa01c18

Requested commit: bf28a47cf23a60539f7cc6cb87309d1a7fa01c18

Commit: bf28a47cf23a60539f7cc6cb87309d1a7fa01c18

Tree: 9330aed65b14acc2215d9c670d3687555d0193da

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: pass correct abi-size for scalar values

When returning an aggregate type that contains a scalar value (nested),
its abi-size is passed by bits, rather than bytes to `buildOpcode`.

```

## Parents

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

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