You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm getting WebAssembly.Memory object could not be cloned in Firefox and Chrome on the latest Main and the latest human commit for shared-memory.
separate-memory and separate-memory-transfer work as expected, presumably because they don't use wasm_bindgen::memory() which I assume cannot be cloned.
To Reproduce
I pinned wasm-bindgen to "=0.2.81"here (for both the latest Main and human commit) because otherwise it kept trying to use 0.2.83 - I blame the workspace lock file.
error:
it looks like the Rust project used to create this wasm file was linked against
version of wasm-bindgen that uses a different bindgen format than this binary:
rust wasm file schema version: 0.2.83
this binary schema version: 0.2.81
I'm very new to Rust so please assume the worst.
Describe the bug
I'm getting
WebAssembly.Memory object could not be cloned
in Firefox and Chrome on the latest Main and the latest human commit forshared-memory
.separate-memory
andseparate-memory-transfer
work as expected, presumably because they don't usewasm_bindgen::memory()
which I assume cannot be cloned.To Reproduce
I pinned wasm-bindgen to
"=0.2.81"
here (for both the latest Main and human commit) because otherwise it kept trying to use 0.2.83 - I blame the workspace lock file.(I've no idea how Nix (flakes) works.) I then ran
which resulted in the stacktrace at the bottom of this issue.
Expected behavior
No error.
Environment
Additional context
I found this potentially relevant SO question, but reading the generated
pkg/shared_memory.js
file doesn't reveal anynew WebAssembly.Memory
calls.Complete stacktrace:
The text was updated successfully, but these errors were encountered: