mirror of
https://github.com/bensuperpc/dockcross.git
synced 2026-07-02 03:19:09 +02:00
54a4417c3d
In recent wasmtime, `-S` flags need to come after `run`. Also add `-W threads=y` following the wasmtime test suite, - https://github.com/bytecodealliance/wasmtime/blob/fc3c868b13bccf5d7ed26de4cfd1a2dc4c689360/tests/all/cli_tests.rs#L580-L581 Also explicity enable the `cli` feature because this is used for CMake try_run.
5 lines
206 B
Bash
Executable File
5 lines
206 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 -S threads=y,cli=y --dir=. --dir=$PWD --dir=/work/ "$@"
|