Closed viperscape closed 1 year ago
Ah I see, apologies! I was compiling from assemblyscript and assumed it has similar type support. Thanks
According to the AssemblyScript docs (here) the u32
and u64
types in AssemblyScript become i32
and i64
in WebAssembly.
I am calling a c# function from WASM that should return an unsigned int or long, but for some reason Wasmtime throws an exception at runtime. Signed int and long work fine.