# wasm: Initial behavior tests succeeding · gitcafe/zig

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

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

Visibility: public

Requested revision: 9e03cf948948ea25feb3f413f234e98e71d55786

Requested commit: 9e03cf948948ea25feb3f413f234e98e71d55786

Commit: 9e03cf948948ea25feb3f413f234e98e71d55786

Tree: 79a20fe0103e9615e1193bc2320d95523bf03601

Author: Luuk de Gram

Committer: Andrew Kelley

## Message

```
wasm: Initial behavior tests succeeding

- Correctly load slice value on stack
- Implement WrapErrorUnionErr and payload
- Implement trunc, fix sliceLen and write undefined
- Implement slice as return type and argument

Note: This also fixes a memory leak for inferred error sets, and for usingnamespace

```

## Parents

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

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