flow
flow copied to clipboard
WASM/WASI version of CLI context functions
See if we can compile to WASI the cli context functions, and them to be WASI functions that access STDIO and FS etc?
If we can, then they could be moved to a library and not in the runtime and the runtime becomes “pure”
Maybe need to add to the runtime https://docs.wasmtime.dev/examples-rust-wasi.html
Could be a feature and/or a command line option to the runtime,
How would they work in the IDE example to communicate with the IDE from the WASM VM?
Needs resolving of which executor on which node would run these functions