Jeroen P

Results 5 comments of Jeroen P

@fluiddot I went a bit deeper and it looks like these values are set in emscripten: https://github.com/emscripten-core/emscripten/blob/7f8a05dd4e37cbd7ffde6d624f91fd545f7b52e3/src/library_syscall.js#L804 https://github.com/emscripten-core/emscripten/blob/7f8a05dd4e37cbd7ffde6d624f91fd545f7b52e3/system/lib/wasmfs/syscalls.cpp#L1530 With the various types of available VFS's it could be complicated to...

This approach could work. Some filesystems might not be relevant because they only work in the browsers. For NODEFS this will work and I was able to test that with...

I created an issue here: https://github.com/emscripten-core/emscripten/issues/22607 - if this approach has any merit, we could work on it. At least for NODEFS it seems to be fairly easy to add...

@fluiddot @wojtekn I created a first concept of how we could solve it. Things like error handling are still missing. The idea is to use the FS instance the same...

PR here: https://github.com/emscripten-core/emscripten/pull/22631/files