evilnoxx

Results 5 comments of evilnoxx

I believe you must pass it as a string. So on the javascript side, you would do something like `myWasmFunction(JSON.stringify(myArray))` And on the tinygo side, you would have to unmarshal...

The variables get initialized now. Thank you for the help.

Hello, I have the same problem. Here is the generated wasm file. I get the same error trying to call any of my exported functions: AddInts, myStringFunction, basicStrFunc and withStructArgs....

I had a look at https://wasmedge.org/book/en/embed/go/memory.html and made my own binding functions. It's actually easier than it looks. Thank you for the guidance.

Hello everyone. I just updated to tinygo 0.23, and the new wasm_exec.js wasn't working with the fix previously posted. I was getting the error `TypeError: Cannot convert a BigInt value...