dockcross/web-wasi/wasmtime-pwd.sh
Matt McCormick ed2c1eb321 web-wasi: Use wasmtime instead of wasmer for the cross-compiling emulator
wasmtime is the official reference implementation and wasmer has
permission issues without sudo.
2021-11-03 19:28:11 -04:00

5 lines
137 B
Bash
Executable File

#!/usr/bin/env bash
# Mount the PWD to enable access in try_run commands
exec ${WASMTIME_HOME}/bin/wasmtime run --dir=. --dir=$PWD "$@"