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

Bulk memory problem with wat2wasm + wasm2c #1934

Closed
remko opened this issue Jun 10, 2022 · 2 comments
Closed

Bulk memory problem with wat2wasm + wasm2c #1934

remko opened this issue Jun 10, 2022 · 2 comments

Comments

@remko
Copy link
Contributor

remko commented Jun 10, 2022

I have a WASM program written in text format that uses bulk memory operations.
When using wat2wasm, and then passing that output to wasm2c, I get the following error:

error: unexpected opcode: 0xfc 0xa

I'm using WABT 1.0.29 on macOS.

@keithw
Copy link
Member

keithw commented Jun 10, 2022

wasm2c mainline doesn't yet support bulk memory operations, but you're very welcome to test out the PR at #1877 which adds it, and I'd be grateful for any bug reports!

@keithw keithw closed this as completed Jun 21, 2022
@remko
Copy link
Contributor Author

remko commented Jul 13, 2022

@keithw Thanks. That branch works for me. Looking forward to seeing it merged.

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