-
Notifications
You must be signed in to change notification settings - Fork 70
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
Error: Unexpected section: 0xfe #62
Comments
topheman
added a commit
to topheman/rust-wasm-experiments
that referenced
this issue
May 30, 2019
See issue "Error: Unexpected section: 0xfe" - wasm-tool/wasm-pack-plugin#62
Can you make sure that your webpack and dependencies are all on their latest versions? I believe this should be fixed in newer releases. |
topheman
added a commit
to topheman/rust-wasm-experiments
that referenced
this issue
Jun 3, 2019
Following @fitzgen advice wasm-tool/wasm-pack-plugin#62 (comment) Now, can use wasm-bindgen latest version 👍
Thanks @fitzgen it now works with the latest webpack version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am using the
wasm-bindgen
crate in this project, which is really likely to your example project.I've got
[email protected]
installed andwasm-tool/[email protected]
If I upgrade
wasm-bindgen
tov0.2.35
and above, I get the following error in webpack :According to their changelog, this is when
wasm-bindgen
adopted thewalrus
crate to perform its transformations of the wasm that rustc/LLVM emits - see rustwasm/wasm-bindgen#1237For the moment, I can make it work by using
[email protected]
I checked, you don't have the same error in your examples, do you have any insights about this ?
Tophe
The text was updated successfully, but these errors were encountered: