# wasm: fix return \`ret_load\` with zero-size type · gitcafe/zig

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

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

Visibility: public

Requested revision: 6c06944b5958e2b624004e986deee8e52c765e6e

Requested commit: 6c06944b5958e2b624004e986deee8e52c765e6e

Commit: 6c06944b5958e2b624004e986deee8e52c765e6e

Tree: e5fe5776ad1cacb85125f82c7d07973688a58fb4

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: fix return `ret_load` with zero-size type

When we have a `ret_load` instruction with a zero-sized type which was
not an error, we would not emit any instruction. This resulted in
no `return` instruction and also not correctly resetting the global
stack_pointer.

This commit also enables the regular test runner for the WebAssembly
backend.

```

## Parents

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

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