mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-19 08:02:09 +03:00
5ed7b806d1
We currently pass a raw view into wasm's memory for `getStringFromWasm`, but if the memory is actually shared then `TextDecoder` rejects `SharedArrayBuffer` and won't actually decode anything. Work around this for now with an extra copy into a local buffer, and then pass that buffer to `getStringFromWasm` whenever memory is shared. |
||
---|---|---|
.. | ||
backend | ||
cli | ||
cli-support | ||
futures | ||
js-sys | ||
macro | ||
macro-support | ||
shared | ||
test | ||
test-macro | ||
typescript | ||
wasm-interpreter | ||
web-sys | ||
webidl | ||
webidl-tests |