Skip to content

Commit 5751939

Browse files
misc/wasm: add wasmer to wasip1 script
The wasmer runtime will be used to test our wasip1 implementation against the WASI runtime from wasmer.io. For #59907 Change-Id: Ie7e48c39e03075815ddca46d996b6ec87009b12a Reviewed-on: https://go-review.googlesource.com/c/go/+/493775 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Run-TryBot: Johan Brandhorst-Satzkorn <[email protected]> Reviewed-by: Bryan Mills <[email protected]>
1 parent 134c9b2 commit 5751939

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

misc/wasm/go_wasip1_wasm_exec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# license that can be found in the LICENSE file.
55

66
case "$GOWASIRUNTIME" in
7+
"wasmer")
8+
exec wasmer run --dir=/ --env PWD="$PWD" "$1" -- "${@:2}"
9+
;;
710
"wasmtime")
811
exec wasmtime run --dir=/ --env PWD="$PWD" --max-wasm-stack 1048576 "$1" -- "${@:2}"
912
;;

0 commit comments

Comments
 (0)