wasmbuild icon indicating copy to clipboard operation
wasmbuild copied to clipboard

Feature request: support initialising with Wasi

Open kitsonk opened this issue 1 year ago • 3 comments

Would be great if there was an option (like --wasi) that would bootstrap the Wasm module with std/wasi.

kitsonk avatar Nov 16 '22 04:11 kitsonk

Well and build like: cargo build --target=wasm32-wasi --release as well.

kitsonk avatar Nov 16 '22 04:11 kitsonk

I wonder how hard is this ? , would be great if someone elaborate on the high level way to implement this

I think its a great feature, it will unlock more projects that can be built against wasi to be used by deno easily

Also in the future maybe there is wasix https://wasmer.io/posts/announcing-wasix

sigmaSd avatar May 30 '23 23:05 sigmaSd

Turns out that wasi works with deno and there is even 2 implementations to choose from , std and from wasmjs

see these issues where I have code examples of both https://github.com/wasmerio/wasmer-js/issues/321 https://github.com/denoland/deno_std/issues/3415

sigmaSd avatar May 31 '23 17:05 sigmaSd