-
Notifications
You must be signed in to change notification settings - Fork 64
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
Produces code that fails wasm-opt #258
Comments
Can you confirm exactly which version of Walrus is being used here, and verify it is the latest version? Once we've confirmed that getting a good sample output / replication would help to start investigating this further. |
Sorry about the delay :| The version is indeed the latest:
Unfortunately the codebase is quite large (and not open), would you have any ideas about finding the culprit? For example, is it possible to programmatically remove parts of the DWARF from the binary to find the offending module? Do you have any ideas about what the error might mean? Thanks! |
It sounds like this is a DWARF encoding issue - so disabling the DWARF output should fix the error. |
Oh it does fix the error, sorry I should've made that clear. But i'd like to keep the DWARF output :) |
Yeah I can confirm this is a bug. I'm only really able to manage releases of this project myself, and not do a lot of maintenance work at this point. Will leave this open. |
Describe the Bug
When the
wasm-opt == 116
, with-O3 -g
flags, is run on Rust crate compiled with the followingwasm-bindgen-cli-support == 0.2.89
setup:...it crashes with the following error:
I think it's likely that the latest DWARF changes broke this, as it used to work before (or at least result in a working binary.)
Is there anything I can do to help?
The text was updated successfully, but these errors were encountered: