wasm_run
wasm_run copied to clipboard
A WebAssembly executor for Dart and Flutter applications. Uses Rust's wasmtime optimizing runtime or wasmi interpreter to parse and execute WASM and WAT files.
For example: - No named param when there is only one param in the function
https://github.com/juancastillo0/wasm_run/blob/9da369cfc3c536d8a06a5718953a11a21d6645ea/packages/wasm_run/lib/src/ffi/io.dart#L77-L82
https://github.com/juancastillo0/wasm_run/blob/0cedc87f82e2905235763c3bcbcb636ed1ca1a4c/packages/dart_wit_component/wasm_wit_component/build.sh#L15 There is bug:```lib/src/generator.dart``` is an existing file on which the generated dart file depends. There should be the name of the generated dart file, (the second input parameter of...
https://github.com/juancastillo0/wasm_run/blob/0cedc87f82e2905235763c3bcbcb636ed1ca1a4c/packages/dart_wit_component/README.md?plain=1#L26 After this command is executed according to the readme, the following error is reported: ``` wasm-tools component new ./target/wasm32-wasi/debug/dart_wit_component.wasm -o dart_wit_component_component_wasi.wasm --adapt ./wasi_snapshot_preview1.wasm error: decoding custom section component-type:dart-wit-generator Caused...
Hi! Im making a flutter app that will use a wasm file that uses wasi1 and when i try to use `wasm_run_flutter` i get this error: ``` [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception:...