summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-01-25 23:19:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-01-25 23:19:29 +0000
commite28cdf362e5ad2a5528044e2ce3c4ad3de5e92f3 (patch)
treead67d799bf0e51be537ce878063b8ee3b30f17f0 /rust/rust.go
parent1627236844094d81d2004582e0844cd13e5192f3 (diff)
parentf5f4ad3db6b3c0a58381ed808467c174491adbb3 (diff)
Merge "Convert coverageMutator to a TransitionMutator" into main
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/rust.go b/rust/rust.go
index 34ce4c545..245ed2e8e 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -535,7 +535,7 @@ func (mod *Module) isCoverageVariant() bool {
var _ cc.Coverage = (*Module)(nil)
-func (mod *Module) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool {
+func (mod *Module) IsNativeCoverageNeeded(ctx android.IncomingTransitionContext) bool {
return mod.coverage != nil && mod.coverage.Properties.NeedCoverageVariant
}