dockcross/web-wasi-emulated-threads/clang-wasi-sysroot.sh
Matt McCormick c0efd5bf10 web-wasi-emulated-threads: initial addition
Todos:

- Add to CI if possible (builds LLVM/Clang)
- Add to README
2025-01-23 11:30:53 -05:00

4 lines
128 B
Bash
Executable File

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