diff options
Diffstat (limited to 'rust/testing.go')
-rw-r--r-- | rust/testing.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/testing.go b/rust/testing.go index 925b02c96..80e414871 100644 --- a/rust/testing.go +++ b/rust/testing.go @@ -99,6 +99,7 @@ func GatherRequiredDepsForTest() string { func CreateTestContext() *android.TestContext { ctx := android.NewTestArchContext() android.RegisterPrebuiltMutators(ctx) + ctx.PreArchMutators(android.RegisterDefaultsPreArchMutators) cc.RegisterRequiredBuildComponentsForTest(ctx) ctx.RegisterModuleType("genrule", genrule.GenRuleFactory) ctx.RegisterModuleType("rust_binary", RustBinaryFactory) |