summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2021-06-28 19:05:51 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-06-28 19:05:51 +0000
commit6eb16f8f879afe4e85bb2ea1713a614d3192659a (patch)
treee061c0285aa0d5a8df906b1d36a76a93b583858c /rust/rust.go
parent7061f792289b4ad7ca7dbe85a4a1f355ec687214 (diff)
parent03a94c48da15ed366a8094de2508076a86ed0804 (diff)
Merge "rust: Add missing Rust allow path modules."
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 4dd06710d..05f639939 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -35,7 +35,7 @@ func init() {
android.AddNeverAllowRules(
android.NeverAllow().
- NotIn(config.RustAllowedPaths...).
+ NotIn(append(config.RustAllowedPaths, config.DownstreamRustAllowedPaths...)...).
ModuleType(config.RustModuleTypes...))
android.RegisterModuleType("rust_defaults", defaultsFactory)