Replies: 4 comments 11 replies
-
Ah yes the intention is to use |
Beta Was this translation helpful? Give feedback.
-
I also noticed slightly ambiguous behaviour with the CoreTypeEncoder.subtype. When you encode an array that has no subtype and pass subtype as |
Beta Was this translation helpful? Give feedback.
-
When it comes to encoding the Initializers in the Globals section, how would one encode array/struct initialisation instructions? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi,
WASM GC introduces the notion of subtypes which is captured by
wasmparser
here. But, in the CoreTypeEncoder inwasm_encoder
which is used to encode GC types into a binary, there is no obvious way to encode this subtype information.One possible way is to use
.subtype()
to create a new subtype from scratch and encode it but I was wondering if there was a cleaner way to do this.Beta Was this translation helpful? Give feedback.
All reactions