fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.

Home Page:https://fzyzcjy.github.io/flutter_rust_bridge/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can this package build rust for release ant not just debug?

jdiaz97 opened this issue · comments

Hello!

I'm seeing that flutter_rust_bridge generate builds the rust binaries in debug mode, is it possible to do it for a release mode?

Hi! Thanks for opening your first issue here! 😄

Sure!

Firstly, this seems to be something related to cargokit, instead of flutter_rust_bridge code. IIRC just flutter run --release and it should auto make Rust in release mode. If that somehow does not work, feel free to tell me!