binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

[Strings] Linear memory string operations should emit a memory index

Open kripken opened this issue 2 years ago • 0 comments

For now this index is always 0, but we must emit it.

Spec: https://github.com/WebAssembly/stringref/blob/main/proposals/stringref/Overview.md#binary-encoding

Also clean up the wat test a little - we don't have validation yet, but we should not validate without a memory in that file.

kripken avatar Aug 10 '22 15:08 kripken