-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
I go hit by this error on my CI:
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.106
this binary schema version: 0.2.108
Currently the bindgen format is unstable enough that these two schema versions
must exactly match. You can accomplish this by either updating this binary or
the wasm-bindgen dependency in the Rust project.
You should be able to update the wasm-bindgen dependency with:
cargo update -p wasm-bindgen --precise 0.2.108
don't forget to recompile your Wasm file! Alternatively, you can update the
binary with:
cargo install -f wasm-bindgen-cli --version 0.2.106
if this warning fails to go away though and you're not sure what to do feel free
to open an issue at https://github.com/wasm-bindgen/wasm-bindgen/issues!
- I'd suggest applying
cargo install -f wasm-bindgen-cli --version 0.2.106; as upgrading to 0.2.108 results in complaints concerning web-sys. - We can consider upgrading the project in a second phase, but pinning the version seems a more stable approach.
Happy to make a PR if it's welcome.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels