Remove redundant boxing when posting CObject to Dart#65
Remove redundant boxing when posting CObject to Dart#65shekohex merged 1 commit intoshekohex:masterfrom
Conversation
|
Interesting, so with this new change, the code is still working as usual. I wonder if this fixed your issue here #64? Could you try to add a test case that covers your scenario? |
No, thats unrelated to my issue. Just a small thing i stumbled upon while debugging whats going on here.
Well, Im currently trying to create an MRE for #64 and that will probably go to dart-lang/native since this looks to be a Dart VM issue more and more. |
|
@fzyzcjy what do you think of this new change? Could you test it out in the fluter bridge? |
Feel free to create a PR on flutter_rust_bridge, with minimal changes that bumps https://github.com/fzyzcjy/flutter_rust_bridge/blob/4c91787244b2043886caf471b30c9b5b37287ca2/Cargo.toml#L31 version! Then just check CI to see whether all tests in frb passes. |
fzyzcjy/flutter_rust_bridge/pull/2596 will ping once CI is green |
|
frb CI is ok: fzyzcjy/flutter_rust_bridge#2596 (Lint::Rust failed due to web_sys update so its not realted) |
|
Awesome! Merging and will publish a new version shortly. |
|
Released v0.1.27 🎉 |
&mut Tcan be safely coerced to*mut Twithout boxing