summaryrefslogtreecommitdiff
path: root/rust/compiler.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2023-11-15 15:18:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-11-15 15:18:29 +0000
commit5ade28cb314aac28a7739b79c21b9476775980ff (patch)
treee85936415b0f2996a8e75952f0397ddd698b3321 /rust/compiler.go
parentd97bf3646914c20e4e7602c7f87792e89ac29ce3 (diff)
parentc518202e2844c94c5205b8b5f2b11a1a9e7f1024 (diff)
Merge "rust: Allow no_stdlibs per-target variants." into main
Diffstat (limited to 'rust/compiler.go')
-rw-r--r--rust/compiler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/compiler.go b/rust/compiler.go
index b3f574d57..4c7961d44 100644
--- a/rust/compiler.go
+++ b/rust/compiler.go
@@ -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.