mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
builtins: use roc_wasm_interp for Zig wasm tests
This commit is contained in:
parent
01d0c5fabc
commit
f55fbaad12
2 changed files with 3 additions and 8 deletions
|
@ -8,9 +8,4 @@ set -euxo pipefail
|
|||
|
||||
# Zig will try to run the test binary it produced, but since your OS doesn't know how to
|
||||
# run Wasm binaries natively, we need to provide a Wasm interpreter as a "test command".
|
||||
zig test -target wasm32-wasi-musl -O ReleaseFast src/main.zig --test-cmd ~/roc/target/release/roc_wasm_interp --test-cmd-bin
|
||||
|
||||
hyperfine --warmup 1 \
|
||||
'zig test -target wasm32-wasi-musl -O ReleaseFast src/main.zig --test-cmd wasmer --test-cmd-bin' \
|
||||
'zig test -target wasm32-wasi-musl -O ReleaseFast src/main.zig --test-cmd wasm3 --test-cmd-bin' \
|
||||
'zig test -target wasm32-wasi-musl -O ReleaseFast src/main.zig --test-cmd ~/roc/target/release/roc_wasm_interp --test-cmd-bin'
|
||||
zig test -target wasm32-wasi-musl -O ReleaseFast src/main.zig --test-cmd ../../../../target/release/roc_wasm_interp --test-cmd-bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue