Emscripten doesn't support FUSE but it does support custom filesystems. Once possible solution is to write a new emscripten filesystem (see src/library_workerfs.js for an example) and have that call back into your compiled module (the rust code). If you really wanted to be adventurous you could try to post FUSE to emscripten so that any FUSE filesystem could be mounted, but that would be a fairly big project I think.
We have a public discord server. All the community communication channels are listed at https://emscripten.org/docs/introducing_emscripten/community.html. cheers, sam On Thu, Dec 31, 2020 at 9:06 AM Tim Co <[email protected]> wrote: > > I work on a decentralisation project which has its own filesystem > implemented in Rust with options to mount on a device using FUSE or access > in a customised browser from JavaScript, plus language bindings for > building applications in other languages. > > I want to be able to access this filesystem in the browser from a library > (wasm-git) which is compiled using Emscripten. > > So my question is what are the ways I could approach this, both as a quick > solution mainly for development and longer term as a decent quality > solution? > > Also, are there any other community chats, forum etc for Emscripten? > > Thanks. > __ > P.S. FYI the decentralisation project is https://safenetwork.tech and my > current project is a decentralised alternative to github with no-servers > and no-third parties at https://github.com/happybeing/p2p-git-portal-poc. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/7b9fa549-1d82-4516-9583-e1f31c4eb937n%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/7b9fa549-1d82-4516-9583-e1f31c4eb937n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va28smBGrn_A5vZwRH0NtKTWKUnd%2BJBHGB34mW-obQGTOew%40mail.gmail.com.
