Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 425a542e authored by Thiébaud Weksteen's avatar Thiébaud Weksteen
Browse files

rust: document manual configuration for rustfmt

Currently, rustfmt requires to be enabled per repository. Add a comment
near the current project allowed_list as a reminder.

Test: None
Bug: 160223496
Change-Id: Iecf8d5b693620541a00d8ddc905549652025eed9
parent d2ff0871
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
package config

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{
		"external/minijail",
		"external/rust",