dockcross/imagefiles/wasmtime-pwd.sh

5 lines
174 B
Bash
Raw Permalink Normal View History

2021-10-08 23:07:09 +02:00
#!/usr/bin/env bash
# Mount the PWD and the /work mount dir to enable access in try_run commands
exec ${WASMTIME_HOME}/bin/wasmtime run --dir=. --dir=$PWD --dir=/work/ "$@"