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
There is a bug on this line wasi.start(happycoinModule);
When I run this code, the wasi complained there is no '__start' function in the exports object.
And I checked the intermediate .js file, actually it only exported the 'memory' and 'getHappycoins'
So I changed it to: wasi.initialize(happycoinModule)
which resolved this problem.
The text was updated successfully, but these errors were encountered:
There is a bug on this line
wasi.start(happycoinModule);
When I run this code, the wasi complained there is no '__start' function in the exports object.
And I checked the intermediate .js file, actually it only exported the 'memory' and 'getHappycoins'
So I changed it to:
wasi.initialize(happycoinModule)
which resolved this problem.
The text was updated successfully, but these errors were encountered: