Open MarkMcCulloh opened 1 year ago
The "business" impact might be that windows or other OS might break more easily
It's also a stability issue - we rely on WASI, which is experimental, instead of directly on WASM (which is not experimental)
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Currently we use WASI to read/write files from within wingc. This is convenient, but brings challenges. It also limits us to requiring WASI rather than being able to run in pure WASM contexts.
Most challenges are due to dealing with preopens which have to be posix paths, thus causing issues with Windows.
Proposal: From rust, call into extern JS function for fs operations. Similiar to how this is used.