summaryrefslogtreecommitdiff
path: root/rust/test.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-14 15:56:03 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-14 15:56:03 -0700
commitf2aacebb28cf16f9c3fa4c59a9a9a931ab6b0846 (patch)
treeda660a6da02da57b771ebc1f7ea1bf3189a90c47 /rust/test.go
parent5fe9b839b0b67218bcdfdbeec06b6813f040939e (diff)
parentf22120fb1da7f75a571966124bb0da6a57fd4f07 (diff)
Merge "Change CommonModuleInfoProvider to a pointer." into main
Diffstat (limited to 'rust/test.go')
-rw-r--r--rust/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/test.go b/rust/test.go
index 2fed0d62e..cedced260 100644
--- a/rust/test.go
+++ b/rust/test.go
@@ -165,7 +165,7 @@ func (test *testDecorator) install(ctx ModuleContext) {
if linkableDep.OutputFile.Valid() {
// Copy the output in "lib[64]" so that it's compatible with
// the default rpath values.
- commonInfo := android.OtherModuleProviderOrDefault(ctx, dep, android.CommonModuleInfoProvider)
+ commonInfo := android.OtherModulePointerProviderOrDefault(ctx, dep, android.CommonModuleInfoProvider)
libDir := "lib"
if commonInfo.Target.Arch.ArchType.Multilib == "lib64" {
libDir = "lib64"