Files
dockcross/imagefiles/wasmtime-pwd-threads.sh
2026-07-19 01:01:28 +02:00

5 lines
222 B
Bash
Executable File

#!/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 -W threads=y,shared-memory=y -S threads=y,cli=y --dir=. --dir=$PWD --dir=/work/ "$@"