You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For WebAssembly, the embedder needs to use wasm_exec's run(instance) method in global.Go so that TinyGo's runtime can be initialized prior to calling any of the WebAssembly module's exported functions. But there doesn't seem to be anything in global.Go indicating whether the runtime has been initialized. An easy workaround would be to create a wrapper object for run elsewhere in Javascript, but I feel like it would be useful to store a variable indicating the initialization status of the runtime in global.Go itself.
The text was updated successfully, but these errors were encountered:
For WebAssembly, the embedder needs to use
wasm_exec
'srun(instance)
method inglobal.Go
so that TinyGo's runtime can be initialized prior to calling any of the WebAssembly module's exported functions. But there doesn't seem to be anything inglobal.Go
indicating whether the runtime has been initialized. An easy workaround would be to create a wrapper object forrun
elsewhere in Javascript, but I feel like it would be useful to store a variable indicating the initialization status of the runtime inglobal.Go
itself.The text was updated successfully, but these errors were encountered: