Closed Losses closed 2 months ago
Hi! Thanks for opening your first issue here! :smile:
Hi, frb v2 use Cargokit by default to compile Rust and let Flutter find it. Thus, I guess your question may be related to Cargokit.
Cargokit
I think I should submit the issue to another repo, thanks!
You are welcome!
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.
Is your feature request related to a problem? Please describe. I'm always frustrated when trying to compile the Rust parts with native dependencies using the MSVC toolchain, as many of these libraries fail to compile properly. This issue significantly hinders development and integration processes.
Describe the solution you'd like The support for compiling Rust dependencies using the MSYS2 toolchain in
flutter_rust_bridge
would help. Adding an option to use MSYS2 for compilation would provide a more robust and flexible development environment, and help resolve the compilation issues associated with the MSVC toolchain.Describe alternatives you've considered An alternative solution would be to manually configure each Rust library with native dependencies to work with the MSVC toolchain, but this approach is time-consuming and not always feasible. Another alternative is to use a different development setup or environment that supports MSYS2, but this can lead to inconsistencies and additional overhead.