summaryrefslogtreecommitdiff
path: root/rust/library.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2025-02-05 02:22:33 +0000
committer Ivan Lozano <ivanlozano@google.com> 2025-02-05 03:13:10 +0000
commit7fe65ca1fe21ee107fa7c59fd21eb7ce8bac0bd6 (patch)
treebe540269a26e3c95a8b670e113f744bf35fb6322 /rust/library.go
parent1f10f684516b131b5e6aebdf9b7915cf07409510 (diff)
rust: Rename flag providers for clarity
Rename the Rust flag and export info providers to make it more clear when workign with the Rust exporter vs the cc exporter. Also renames a test for additional clarity. Test: m blueprint_tests Change-Id: I652b55ef000a2cd00f47b1dbfe86713c33ae9d63
Diffstat (limited to 'rust/library.go')
-rw-r--r--rust/library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/library.go b/rust/library.go
index dd194374f..769a682a6 100644
--- a/rust/library.go
+++ b/rust/library.go
@@ -768,7 +768,7 @@ func (library *libraryDecorator) compile(ctx ModuleContext, flags Flags, deps Pa
cc.AddStubDependencyProviders(ctx)
// Set our flagexporter provider to export relevant Rust flags
- library.flagExporter.setProvider(ctx)
+ library.flagExporter.setRustProvider(ctx)
return ret
}