Merge "rust: Allow no_stdlibs per-target variants." into main am: 5ade28cb31

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2829091

Change-Id: I16c63580853ae75f531c393c27f9c59046dbecee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ivan Lozano
2023-11-15 15:40:27 +00:00
committed by Automerger Merge Worker

View File

@@ -160,7 +160,7 @@ type BaseCompilerProperties struct {
Relative_install_path *string `android:"arch_variant"`
// whether to suppress inclusion of standard crates - defaults to false
No_stdlibs *bool
No_stdlibs *bool `android:"arch_variant"`
// Change the rustlibs linkage to select rlib linkage by default for device targets.
// Also link libstd as an rlib as well on device targets.