summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Cody Schuffelen <schuffelen@google.com> 2023-08-16 19:51:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-08-16 19:51:02 +0000
commitd89ee08bbfc12de7de402eb22ab5da6436f283c4 (patch)
tree652133dba22f9235abc1ab9c7c7952853a9477ae /rust/rust.go
parentb0e1035417e745f38938ce138784267003c22953 (diff)
parentc183e3a473e41ca38ddfc869d0979bb3bf314047 (diff)
Merge "Rust library linking fixes" into main
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go
index dab35323a..e2154f0cc 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -1224,6 +1224,11 @@ func (mod *Module) depsToPaths(ctx android.ModuleContext) PathDeps {
if _, exists := skipModuleList[depName]; exists {
return
}
+
+ if depTag == android.DarwinUniversalVariantTag {
+ return
+ }
+
if rustDep, ok := dep.(*Module); ok && !rustDep.CcLibraryInterface() {
//Handle Rust Modules
makeLibName := rustMakeLibName(ctx, mod, rustDep, depName+rustDep.Properties.RustSubName)