dockcross/imagefiles/wasmtime-pwd-threads.sh
Matt McCormick d4e7c0aff2 web-wasi-threads: initial addition
This is a different toolchain following how wasi-sdk defines the
platform triple and how builds are configured -- everything should be
built with the flags defined in the toolchain file.

We build from web-wasi:latest, and that is built first.
2024-04-03 15:19:02 -04:00

5 lines
187 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 -S threads=y run --dir=. --dir=$PWD --dir=/work/ "$@"