File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
case " $GOWASIRUNTIME " in
7
7
" wasmedge" )
8
- exec wasmedge --dir=/ --env PWD=" $PWD " ${GOWASIRUNTIMEARGS:- } " $1 " " ${@: 2} "
8
+ exec wasmedge --dir=/ --env PWD=" $PWD " --env PATH= " $PATH " ${GOWASIRUNTIMEARGS:- } " $1 " " ${@: 2} "
9
9
;;
10
10
" wasmer" )
11
- exec wasmer run --dir=/ --env PWD=" $PWD " ${GOWASIRUNTIMEARGS:- } " $1 " -- " ${@: 2} "
11
+ exec wasmer run --dir=/ --env PWD=" $PWD " --env PATH= " $PATH " ${GOWASIRUNTIMEARGS:- } " $1 " -- " ${@: 2} "
12
12
;;
13
13
" wasmtime" )
14
- exec wasmtime run --dir=/ --env PWD=" $PWD " --max-wasm-stack 1048576 ${GOWASIRUNTIMEARGS:- } " $1 " -- " ${@: 2} "
14
+ exec wasmtime run --dir=/ --env PWD=" $PWD " --env PATH= " $PATH " -- max-wasm-stack 1048576 ${GOWASIRUNTIMEARGS:- } " $1 " -- " ${@: 2} "
15
15
;;
16
16
" wazero" | " " )
17
17
exec wazero run -mount /:/ -env-inherit -cachedir " ${TMPDIR:-/ tmp} " /wazero ${GOWASIRUNTIMEARGS:- } " $1 " " ${@: 2} "
You can’t perform that action at this time.
0 commit comments