wasmtime-dotnet
wasmtime-dotnet copied to clipboard
Fix Instance.GetMemories() ignored memories after the 1st non-memory export
- Fix similar Instance.GetFunctions(), GetTables(), GetGlobals() methods
GetMemories() returned empty list for following code but worked fine after swapping 2 exports: (module (type $t0 (func)) (func $run) (memory $0 1) (export "run" (func $run)) (export "memory" (memory 0)) )