summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2025-01-23 10:31:00 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-01-23 10:31:00 -0800
commitde3a3bbb837d80263dfc8a6e7fc85bf7f19c8d49 (patch)
tree93d5a30594dbc4adfc20a546411827afeb64b0e1 /rust/rust.go
parent4d78e0108b85354098811ec86307cc8d2550555f (diff)
parentad7ba59a23725b9fd10e71879bdfd7249e76b5ae (diff)
Merge "rust: De-duplicate depLinkFlags" into main
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go
index 64288595f..5e9b7af17 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -1767,6 +1767,7 @@ func (mod *Module) depsToPaths(ctx android.ModuleContext) PathDeps {
depPaths.depClangFlags = android.FirstUniqueStrings(depPaths.depClangFlags)
depPaths.depIncludePaths = android.FirstUniquePaths(depPaths.depIncludePaths)
depPaths.depSystemIncludePaths = android.FirstUniquePaths(depPaths.depSystemIncludePaths)
+ depPaths.depLinkFlags = android.FirstUniqueStrings(depPaths.depLinkFlags)
return depPaths
}