-
I know a little rust but am brand new to Flutter. I wanted to try to run the examples but not sure where to start. Running on an aarch64-darwin system. $ git clone https://github.com/cunarist/rust-in-flutter.git
$ cd rust-in-flutter/example
$ cargo build
error[E0277]: the trait bound `api::RustSignal: IntoIntoDart<_>` is not satisfied
... many other errors
$ rustc --version
rustc 1.71.0 (8ede3aae2 2023-07-12)
$ flutter --version
Flutter 3.10.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9cd3d0d9ff (9 weeks ago) • 2023-05-23 20:57:28 -0700
Engine • revision 90fa3ae28f
Tools • Dart 3.0.2 • DevTools 2.23.1
Thanks for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @n8henrie , I took some time to investigate this problem. It turned out to be a bug with version 1.4.1. Version 1.5.0 released just now will eliminate those errors. Thank you for your discussion, and please feel free to come back if you face any other issues :) |
Beta Was this translation helpful? Give feedback.
-
Yes, this fixed the issue for me. I found the lack of git tags (to mark releases such as 1.5.0) a little confusing, but I was able to build the examples on master by: For any others looking to run the example:
Thank you! |
Beta Was this translation helpful? Give feedback.
Hi @n8henrie , I took some time to investigate this problem.
It turned out to be a bug with version 1.4.1. Version 1.5.0 released just now will eliminate those errors. Thank you for your discussion, and please feel free to come back if you face any other issues :)