Merge pull request #861 from thewtex/wasmtime-flags

wasi: fix threads option specification for wasmtime
This commit is contained in:
Matt McCormick 2025-01-07 09:22:38 -05:00 committed by GitHub
commit a9ee159efb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# Mount the PWD and the /work mount dir to enable access in try_run commands
exec ${WASMTIME_HOME}/bin/wasmtime -S threads=y run --dir=. --dir=$PWD --dir=/work/ "$@"
exec ${WASMTIME_HOME}/bin/wasmtime run -W threads=y -S threads=y,cli=y --dir=. --dir=$PWD --dir=/work/ "$@"