mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-31 01:11:06 +00:00
Looks like `TextEncoder#encodeInto` isn't compatible when the buffer passed in is backed by a `SharedArrayBuffer`, so if the module has a shared thread skip the `encodeInto` optimization entirely.