mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-24 06:33:33 +03:00
105a6bc853
When we add threads it's not actually valid to have a global cache as the index is only valid on one thread! Instead let's use a per-thread cache using `thread_local!` which compiles to basically the same code as before for single-threaded wasm. |
||
---|---|---|
.. | ||
backend | ||
cli | ||
cli-support | ||
futures | ||
gc | ||
js-sys | ||
macro | ||
macro-support | ||
shared | ||
test | ||
test-macro | ||
typescript | ||
wasm-interpreter | ||
web-sys | ||
webidl | ||
webidl-tests |