summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-05-07 17:49:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-05-07 17:49:10 +0000
commit3f01580c04bfe37c920e247015cce93cff2451c0 (patch)
treeb2165cd64e2876d8fa4c60bd322de81364143aed /rust/rust.go
parent0d4a9ca79225bac10e4b62a663ee0cd09e3b314d (diff)
parenta963b94cde194257fa67ce9596026a4da2fe7523 (diff)
Merge "Make the enabled property configurable" 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 c2b61515c..de049f77f 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -1697,7 +1697,7 @@ func (mod *Module) DepsMutator(actx android.BottomUpMutatorContext) {
}
func BeginMutator(ctx android.BottomUpMutatorContext) {
- if mod, ok := ctx.Module().(*Module); ok && mod.Enabled() {
+ if mod, ok := ctx.Module().(*Module); ok && mod.Enabled(ctx) {
mod.beginMutator(ctx)
}
}