platform_build_soong/rust
Ivan Lozano ab58647b2e rust: Add an option to disable LTO for Rust
This adds an option to disable LTO when building a Rust module. This is
mostly intended to speedu p local prototyping, and LTO should not
normally be disabled for production builds.

Bug: 339628497
Test: m blueprint_tests && m rust
Change-Id: I21d5d4513a259a56f101ce8906e2bef7404e4efb
2024-05-17 10:11:57 -04:00
..
config rustc-1.77.1.p1 Build 11801116 2024-05-06 21:30:12 +00:00
afdo.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
afdo_test.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
Android.bp Deprecate Snapshot build 2024-04-05 01:56:56 +00:00
androidmk.go Remove duplicated CollectDependencyAconfigFiles() 2024-05-10 10:00:14 +09:00
benchmark.go Allow adding extra tradefed options in the Android.bp file 2023-01-03 12:47:11 -08:00
benchmark_test.go
binary.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
binary_test.go Revert "Split Rust crate builds into compile and link phases." 2023-10-02 22:15:55 -07:00
bindgen.go rust: Support for generated c files from bindgen 2024-05-03 14:01:09 -04:00
bindgen_test.go rust: Support for generated c files from bindgen 2024-05-03 14:01:09 -04:00
builder.go rust: Add an option to disable LTO for Rust 2024-05-17 10:11:57 -04:00
builder_test.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
clippy.go
clippy_test.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
compiler.go rust: Add an option to disable LTO for Rust 2024-05-17 10:11:57 -04:00
compiler_test.go rust: Add an option to disable LTO for Rust 2024-05-17 10:11:57 -04:00
coverage.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
coverage_test.go Revert "Split Rust crate builds into compile and link phases." 2023-10-02 22:15:55 -07:00
doc.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
fuzz.go fuzz packaging: implement system/vendor split 2023-12-28 03:04:20 +00:00
fuzz_test.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
image.go Remove Device VNDK version usage from Soong 2024-04-05 01:57:32 +00:00
image_test.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
library.go Merge changes from topic "rust-made-to-order-staticlibs" into main 2024-05-17 12:40:36 +00:00
library_test.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
OWNERS rust: Rust is now GA for platform usage 2022-07-28 06:57:26 -07:00
prebuilt.go rust: internalize srcPathFromModuleSrcs 2023-11-22 00:52:10 +00:00
proc_macro.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
proc_macro_test.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
project_json.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
project_json_test.go
protobuf.go Shard rust protobuf sources 2024-04-23 10:47:00 -07:00
protobuf_test.go Remove unused use_protobuf3 flag 2023-12-21 17:53:51 +00:00
rust.go Merge changes from topic "rust-made-to-order-staticlibs" into main 2024-05-17 12:40:36 +00:00
rust_test.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
sanitize.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
sanitize_test.go Revert "Split Rust crate builds into compile and link phases." 2023-10-02 22:15:55 -07:00
source_provider.go Remove unused field 'subAndroidMkOnce'. 2023-01-26 14:06:35 +00:00
source_provider_test.go
strip.go
test.go Split usage of UseVndk 2024-01-09 11:37:14 +09:00
test_test.go Fix soong for go test ./... 2023-11-17 21:28:39 +00:00
testing.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
toolchain_library.go Revert^2 "rustSetToolchainSource to use linux-x86 srcs" 2023-09-27 20:45:48 +00:00