Merge "rust: document manual configuration for rustfmt"

This commit is contained in:
Thiébaud Weksteen 2020-09-30 14:41:14 +00:00 committed by Gerrit Code Review
commit 996de36d0f
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
package config package config
var ( var (
// When adding a new path below, add a rustfmt.toml file at the root of
// the repository and enable the rustfmt repo hook. See aosp/1347562
// for an example.
// TODO(b/160223496): enable rustfmt globally.
RustAllowedPaths = []string{ RustAllowedPaths = []string{
"external/minijail", "external/minijail",
"external/rust", "external/rust",