How to specify the target
flag to x86_64-unknown-linux-musl
when flutter build linux
?
#2788
-
Currently is |
Beta Was this translation helpful? Give feedback.
Answered by
xuxiaocheng0201
Jul 3, 2025
Replies: 1 comment 2 replies
-
Hi, frb uses Cargokit for rust compilation, so maybe check their doc, iirc they have some kind of customizations |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for your guidance. I found the codes that need to be modified: https://github.com/irondash/cargokit/blob/ec49f0ee89744a8e80ee8df764bfb1faea95319b/build_tool/lib/src/target.dart#L50-L57 It's in
./rust_builder/cargokit/build_tool/lib/src/target.dart
.