diff options
| author | 2023-08-16 19:51:02 +0000 | |
|---|---|---|
| committer | 2023-08-16 19:51:02 +0000 | |
| commit | d89ee08bbfc12de7de402eb22ab5da6436f283c4 (patch) | |
| tree | 652133dba22f9235abc1ab9c7c7952853a9477ae /rust/rust.go | |
| parent | b0e1035417e745f38938ce138784267003c22953 (diff) | |
| parent | c183e3a473e41ca38ddfc869d0979bb3bf314047 (diff) | |
Merge "Rust library linking fixes" into main
Diffstat (limited to 'rust/rust.go')
| -rw-r--r-- | rust/rust.go | 5 |
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) |