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
If you try to call ccall/cwrap on a module before the wasm module is finished instantiating, you get an error that 'Runtime.stackSave' is not a function (cwrap itself of course can't work because the C function isn't there yet but stackSave is the first thing that will fail). I'd bet there's some module-level var that means "the wasm is instantiated or is still compiling" and we should query that it some of the obvious entry points like ccall to make that error friendlier, because this is likely to be a common issue.