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

module with multiple memories is not parsed #261

Open
juntyr opened this issue Feb 28, 2024 · 0 comments · May be fixed by #262
Open

module with multiple memories is not parsed #261

juntyr opened this issue Feb 28, 2024 · 0 comments · May be fixed by #262
Labels
bug Something isn't working

Comments

@juntyr
Copy link

juntyr commented Feb 28, 2024

When parsing the transformer-6252.wasm module file (which is produced when mapping the component model to several core modules and seems to include several trampolines), walrus produces the following error:

failed to parse code section

Caused by:
    unknown memory 4 (at offset 1077)

The wasmparser::Validator with the multi_memory feature enabled however says that this module is valid and I would thus expect the module to parse correctly.

I'm using walrus version 0.20.3.

@juntyr juntyr added the bug Something isn't working label Feb 28, 2024
@guybedford guybedford linked a pull request Feb 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant