FYI, i created an experimental wasi-threads build: https://github.com/WebAssembly/wasi-sdk/pull/274#issuecomment-1367298708