Files
build_soong/rust
Chris Wailes 6146cf4b98 Make building Rust targets faster in eng builds
This CL makes the following changes when building an eng variant to
speed up compilation, possibly at the expense of the performance of the
generated binary:
* Disables LTO
* Enables incremental compilation
* Sets codegen units to 256 to increase parallelism (default set when
  enabling incremental compilation)

These changes reduce the time taken to compile all of Android's Rust
code from 16m20s to 12m10s.

Test: lunch aosp_oriole-eng && m clean && m rust
Bug: https://b.corp.google.com/issues/289094772
Change-Id: I97f1675c67ded69120b0c0e0fb5608aa9314a866
2023-12-01 10:34:01 -08:00
..
2023-11-27 22:30:13 +00:00
2023-03-31 17:55:16 -04:00
2020-08-13 15:58:09 +02:00
2023-05-19 20:31:32 +00:00
2022-07-28 06:57:26 -07:00
2020-11-19 20:02:34 +01:00
2023-11-17 21:28:39 +00:00