Replies: 1 comment 8 replies
-
I would guess wasmfs probably doesn't wok with |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm just now exploring the opfs backend and looking at wasmfs tests. My goal is to write a file in OPFS from javascript inside
/share
(I've this part figured out.) and read that file from wasm. I've made this minimal example and it gives an error:Here are the source files which I used:
From debugger, it seems like the worker goes inside fopen before the root handle is pushed inside
wasmfsOPFSDirectoryHandles.allocated
in__wasmfs_opfs_init_root_directory
. Am I doing something wrong here?Beta Was this translation helpful? Give feedback.
All reactions