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

failed to parse file #12

Closed
wanderer opened this issue Dec 19, 2015 · 2 comments
Closed

failed to parse file #12

wanderer opened this issue Dec 19, 2015 · 2 comments

Comments

@wanderer
Copy link

Failed to parse this file

./test.wasm:90:19: unexpected token "i32.div"

If I change them all of the i32.div to i32.add it works fine

@jfbastien
Copy link
Member

It's div_s or div_u, not div.

@wanderer
Copy link
Author

cool thanks

wenyongh pushed a commit to wenyongh/wabt that referenced this issue Jan 30, 2024
Adds the no_sandbox option to ReadBinaryOptions and arranges for
it to be populated identically to WriteCOptions in wasm2c.

Furthermore, propagates ReadBinaryOptions to BinaryReaderIR.
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

No branches or pull requests

2 participants