Add rustfmt to p/m/C
Test: try to upload .rs Change-Id: I8ccea161da10db8505e1f0aa5fb22f6c6952373e
This commit is contained in:
parent
f23f6ae45b
commit
2f870dbc33
2 changed files with 3 additions and 0 deletions
|
|
@ -1,9 +1,11 @@
|
|||
[Builtin Hooks]
|
||||
bpfmt = true
|
||||
clang_format = true
|
||||
rustfmt = true
|
||||
|
||||
[Builtin Hooks Options]
|
||||
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp
|
||||
rustfmt = --config-path=rustfmt.toml
|
||||
|
||||
[Hook Scripts]
|
||||
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
|
||||
|
|
|
|||
1
rustfmt.toml
Symbolic link
1
rustfmt.toml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../../build/soong/scripts/rustfmt.toml
|
||||
Loading…
Reference in a new issue