Open svr2kos2 opened 2 days ago
Hi, could you please provide a minimal reproducible sample? The tests are run in CI for every commit, which seems to pass.
rust_call_dart Only modified main.dart and simple.rs
And I just found out that build and run with release mode is totally fine. Only crash on debug mode.
Great, feel free to PR (I am happy to provide hints about debugging), alternatively I will work on it in the next batch!
Saddly I'm not familiar with flutter and js, I‘ll first try to figure out how this works. Thanks for your contribution to this awesome project❤️
You are welcome and it's OK!
Btw for completeness (I guess you already know it): The workaround is to use dev.38 before it is fixed.
Describe the bug
call a dart function from rust cause error.
Steps to reproduce
Follow manul https://cjycode.com/flutter_rust_bridge/guides/direction/rust-call-dart
Logs
Expected behavior
works normally like dev.38
Generated binding code
No response
OS
Win 22631.2428
Version of
flutter_rust_bridge_codegen
v2.0.0-dev.39~v2.0.0
Flutter info
Version of
clang++
No response
Additional context
No response