Replies: 1 comment 2 replies
-
In theory |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
So I'm writing Orca a Library for WASM transportations for the Component Model.
I'm facing an issue where on parsing a given wasm file, the ordering of two sections seems to defer when I write it to a new file.
This is the ordering that I get on encoding:
This is what the original file is:
And I've only noticed this with the
alias
section in Components. I tried playing around when I define theAlias
Section in a Component and this didn't seem to change the ordering.I also see that both of these are semantically different where
wasm-tools validate
throws an exception on the encoded wasm file I generate (where alias is before instance).I was wondering if some light could be shed on this and if we can define the ordering of sections in
wasm_encoder
Beta Was this translation helpful? Give feedback.
All reactions