rust: Allow no_stdlibs per-target variants.
stdlibs can be set per-target, it makes to sense to allow no_stdlibs to be set per-target as well. Bug: 310924208 Test: Android.bp with per-target no_stdlibs builds. Change-Id: I1c3a458a849367d2c363bd5f65af77b8cce8c0e0
This commit is contained in:
parent
04445d5443
commit
c518202e28
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue