Closed anidotnet closed 2 weeks ago
Hi! Thanks for opening your first issue here! :smile:
Hmm, is this related -> https://github.com/fzyzcjy/flutter_rust_bridge/pull/1848
Close since inactivity and possibly has duplication. But feel free to reopen if needed!
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.
Describe the bug
I am facing code generation issue with simple rust code involving
async_trait
. I may be wrong, but could not fix it. Thefrb_generated.rs
file has lots of error in it. I have addedenable_lifetime: true
in flutter_rust_bridge.yaml file.Steps to reproduce
simple.rs
file from the code generated by the template as follows:At this point the
frb_generated.rs
file has lots of error.Logs
Due to max character length restriction in github issues, log is pasted here - https://gist.github.com/anidotnet/bec9c144c81e7270fc458e053397419d
Expected behavior
No response
Generated binding code
OS
MacOS
Version of
flutter_rust_bridge_codegen
2.4.0
Flutter info
Version of
clang++
16
Additional context
No response