Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasi] do we need VFS #81418

Closed
pavelsavara opened this issue Jan 31, 2023 · 2 comments
Closed

[wasi] do we need VFS #81418

pavelsavara opened this issue Jan 31, 2023 · 2 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono os-wasi Related to WASI variant of arch-wasm
Milestone

Comments

@pavelsavara
Copy link
Member

pavelsavara commented Jan 31, 2023

We are aiming for WASI hosts (like cloud services) which would not let us to map host FS.

  • We could VFS DLLs, but we could also have memory snapshot instead
  • We need to bundle the timezone database into .wasm and we need it for browser too. But it doesn't have to be VFS
  • We need FS for runtime unit tests, but could be solved by mapping host directory (in our CI)

What are the other scenarios ?

also

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-Build-mono labels Jan 31, 2023
@pavelsavara pavelsavara added this to the 8.0.0 milestone Jan 31, 2023
@pavelsavara pavelsavara self-assigned this Jan 31, 2023
@ghost
Copy link

ghost commented Jan 31, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

We are aiming for WASI hosts (like cloud services) which would not let us to map host FS.

  • We need to bundle the timezone database into .wasm and we need it for browser too. But it doesn't have to be VFS
  • We need FS for runtime unit tests, but could be solved by mapping host directory

What are the other scenarios ?

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-Build-mono

Milestone: 8.0.0

@radical radical added the os-wasi Related to WASI variant of arch-wasm label Feb 16, 2023
@pavelsavara
Copy link
Member Author

After offline discussion with the team, so far we think we need way how to embed resources into .wasm but we don't need full VFS emulation layer.

@ghost ghost locked as resolved and limited conversation to collaborators Mar 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono os-wasi Related to WASI variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

2 participants