aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2021-12-05 12:34:50 +0100
committerAndrew Kelley <andrew@ziglang.org>2021-12-05 12:19:01 -0800
commit9e03cf948948ea25feb3f413f234e98e71d55786 (patch)
tree79a20fe0103e9615e1193bc2320d95523bf03601 /ci
parenta1b79ea5857a52332d9da49d261a7fd04e52a466 (diff)
downloadzig-9e03cf948948ea25feb3f413f234e98e71d55786.tar.gz
zig-9e03cf948948ea25feb3f413f234e98e71d55786.zip
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
Diffstat (limited to 'ci')
-rwxr-xr-xci/zinc/linux_test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/zinc/linux_test.sh b/ci/zinc/linux_test.sh
index fa30bd5cdf..886fbdaf81 100755
--- a/ci/zinc/linux_test.sh
+++ b/ci/zinc/linux_test.sh
@@ -6,6 +6,7 @@ ZIG=$DEBUG_STAGING/bin/zig
$ZIG test test/behavior.zig -fno-stage1 -fLLVM -I test
$ZIG test test/behavior.zig -fno-stage1 -ofmt=c -I test
+$ZIG test test/behavior.zig -fno-stage1 -target wasm32-wasi --test-cmd wasmtime --test-cmd-bin
$ZIG build test-behavior -fqemu -fwasmtime
$ZIG build test-compiler-rt -fqemu -fwasmtime