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
pntr_wasm.js is a base64-encoded string of the wasm bytes, decoded. The file should export an ArrayBuffer. I did this because you can import anywhere with same syntax, but node/web have different syntaxes. You might want to put some code in there to detect fetch and/or node readFile but I like to just embed it in a js.
I did the 2 examples save_image and get_error for strings in/out, but it's still not saving images (or even trying to) so I'm not sure what is still missing. There should be an import for fd_open I think, but it's not showing.
From @konsumer ..... I got it down to these imports with
The text was updated successfully, but these errors were encountered: