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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't build wasmbuild with wasmbuild #51

Closed
dsherret opened this issue Sep 26, 2022 · 1 comment 路 Fixed by #52
Closed

Don't build wasmbuild with wasmbuild #51

dsherret opened this issue Sep 26, 2022 · 1 comment 路 Fixed by #52

Comments

@dsherret
Copy link
Member

We can't build wasmbuild with wasmbuild because we get this error when upgrading the version of wasm-bindgen 馃槄

error: Uncaught (in promise) 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 (387e821c8)

Currently the bindgen format is unstable enough that these two schema versions
must exactly match. You can accomplish this by either updating the wasm-bindgen
dependency or this binary.
@dsherret
Copy link
Member Author

Solving this in #52, by adding a deno task build:bindgen-upgrade, which will build wasmbuild using the globally installed wasm-bindgen-cli instead of the wasm file. Instructions will be located at https://github.com/denoland/wasmbuild/blob/main/contributing.md

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

Successfully merging a pull request may close this issue.

1 participant