summaryrefslogtreecommitdiff
path: root/rust/test.go
diff options
context:
space:
mode:
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"