web-wasi-threads: use target wasm32-wasi-threads in sysroot wrapper

And add -pthread flag.
This commit is contained in:
Matt McCormick
2025-01-07 10:59:10 -05:00
parent a9ee159efb
commit f5b3739d8d
4 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
exec ${WASI_SDK_PATH}/bin/clang -pthread --target=wasm32-wasi-threads --sysroot=${WASI_SYSROOT} "$@"