Wasm32-unknown-unknown, threads & wasm-bindgen

⚓ Rust    📅 2025-09-18    👤 surdeus    👁️ 2      

surdeus

Hello,

Everything I've found on this topic is at a minimum years old, and/or locked. With how the state of web-tech is always moving, I figured asking for the latest wouldn't be unreasonable.

From the digging I've done, these are the assumptions I've made:

  • wasm32-unknown-unknown does not support wasm threads.
  • wasm-bindgen does not support threads.
  • All three major browsers tracked by the WebAssembly CG support threads.
  • wasm32-wasip1 does not support threads, but there's a -threads target which does.
  • wasm-bindgen requires wasm32-unknown-unknown (or is at least considered poorly supported otherwise).

So my questions are,

  1. Are my assumptions wrong?
  2. Is there work being done on wasm threads for web use?

1 post - 1 participant

Read full topic

🏷️ Rust_feed