-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Description
Describe the problem you are trying to solve
When building rust code for an Android app, it is common to build for multiple targets, e.g. (ARM, x86) ⊗ (32 bits, 64 bits). While cargo build
is already parallel in some sense, LTO (or last step compilation in general) is single threaded and can take a long time to run. It makes sense to use up the CPU resources for building other targets.
Describe the solution you'd like
Multi-target build with --target=armv7-linux-androideabi --target=aarch64-linux-android ...
.
Notes
See also plugin: https://github.com/mozilla/rust-android-gradle
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`