Closed MTRNord closed 4 years ago
Thanks for the report! The purpose of cargo wasi build
right now is for a preview of the interface types proposa, which doesn't support all of JsValue
right now unfortunately. This is an expected error for now, but if you're building for the web you may want to use wasm-pack
instead.
Thanks yeah I figured it would work with web as https://github.com/dunnock/wasi-worker exists but it seems wasi only works in the service-worker scope. Not in the UI scope :)
Hi I have a web app (yew based) which uses wasm-bindgen.
cargo wasi check
returns no errors and the build itself seems to work. However the wasm-bindgen-cli thingy fails with this error:Any hint on why this happens or how I can fix this issue? I ran
cargo wasi build --release --bin daydream_app
to get to this issue