vm75 / wasm_ffi

Translates dart:ffi calls on the web to WebAssembly using dart:js
https://github.com/vm75/wasm_ffi
BSD 2-Clause "Simplified" License
7 stars 3 forks source link

Supported when compiling Flutter with --wasm? #8

Open robmllze opened 1 month ago

robmllze commented 1 month ago

Hi mate,

Great package. I'd like to see more development going into this. I can contribute. Quick, question:

I managed to make some Rust code work, via lookupFunction. I can run my app through flutter run -d chrome, however, when I do flutter run -d chrome --wasm, the lookup throws an error and my function isn't found. Any ideas why this might be?

Looking forward to your response,

Robert

vm75 commented 1 month ago

Hi Robert. I haven't had much experience with Rust myself, but I understand the dart integration is very thorough. I would like to know more about your setup. I haven't the slightest clue about the issue you are facing, but it will be good learning. Just wanted to let you know that my contribution is very bursty. I will have a few days of furious development then a big lull. Would love to collaborate with you on this. Vijay