web-wasi-emulated-threads: initial addition

Todos:

- Add to CI if possible (builds LLVM/Clang)
- Add to README
This commit is contained in:
Matt McCormick
2025-01-22 16:26:14 -05:00
parent 1d459d9fbc
commit c0efd5bf10
13 changed files with 462 additions and 5 deletions

View File

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