diff options
Diffstat (limited to 'rust/compiler_test.go')
-rw-r--r-- | rust/compiler_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/compiler_test.go b/rust/compiler_test.go index 2b40727e7..3ed086f20 100644 --- a/rust/compiler_test.go +++ b/rust/compiler_test.go @@ -153,7 +153,7 @@ func TestLints(t *testing.T) { for _, tc := range lintTests { t.Run("path="+tc.modulePath, func(t *testing.T) { - config := android.TestArchConfig(buildDir, nil, bp, fs) + config := android.TestArchConfig(t.TempDir(), nil, bp, fs) ctx := CreateTestContext(config) ctx.Register() _, errs := ctx.ParseFileList(".", []string{tc.modulePath + "Android.bp"}) |