Merge "Create soong config to support other apis for aconfig finalization" into main
diff --git a/rust/rust.go b/rust/rust.go
index 6428859..5e9b7af 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -1767,6 +1767,7 @@
 	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
 }