wasmtime-dotnet icon indicating copy to clipboard operation
wasmtime-dotnet copied to clipboard

Fix Instance.GetMemories() ignored memories after the 1st non-memory export

Open valobanov opened this issue 6 months ago • 0 comments

  • 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)) )

valobanov avatar Sep 03 '24 12:09 valobanov