mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-10 21:19:26 +02:00
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.
This commit is contained in:
4
imagefiles/wasmtime-pwd-threads.sh
Executable file
4
imagefiles/wasmtime-pwd-threads.sh
Executable file
@ -0,0 +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/ "$@"
|
Reference in New Issue
Block a user