Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve message when the version of wasm-bindgen-cli differs from that of the wasm-bindgen crate #4430

Open
coolbluewater opened this issue Feb 12, 2025 · 0 comments
Labels

Comments

@coolbluewater
Copy link

This message is in crates/cli-support/src/wit/mod.rs:

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: {their_version}
     this binary schema version: {my_version}
...

The message does not provide the full path to the wasm file or even its name.
It also does not provide the path to the binary.

When there are multiple webassembly files in a single output project
it becomes supremely painful to diagnose the issue.

It's very easy to fix this issue, so appreciate if this is improved soon.

🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant