diff options
-rwxr-xr-x | misc/wasm/go_wasip1_wasm_exec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/wasm/go_wasip1_wasm_exec b/misc/wasm/go_wasip1_wasm_exec index 3e1fc62156..55917eae88 100755 --- a/misc/wasm/go_wasip1_wasm_exec +++ b/misc/wasm/go_wasip1_wasm_exec @@ -4,6 +4,9 @@ # license that can be found in the LICENSE file. case "$GOWASIRUNTIME" in + "wasmer") + exec wasmer run --dir=/ --env PWD="$PWD" "$1" -- "${@:2}" + ;; "wasmtime") exec wasmtime run --dir=/ --env PWD="$PWD" --max-wasm-stack 1048576 "$1" -- "${@:2}" ;; |