walrus icon indicating copy to clipboard operation
walrus copied to clipboard

module with multiple memories is not parsed

Open juntyr opened this issue 1 year ago • 1 comments

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 avatar Feb 28 '24 07:02 juntyr

Perhaps try this with 0.21.0 and see if that helps.

guybedford avatar Jul 02 '24 19:07 guybedford