Update rustfmt options

The options for the rustfmt repo hook have been updated
in change 1399689 to support multiple commits. Update
the configuration for system/security.

Bug: 164111102
Test: repo upload
Change-Id: I516200c81f31a2b3891a229277ac1cd15e5738a9
This commit is contained in:
Thiébaud Weksteen 2020-08-14 13:00:20 +02:00
parent c4946ad435
commit 2e749f97dd

View file

@ -4,7 +4,7 @@ rustfmt = true
[Builtin Hooks Options] [Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
rustfmt = --check --config-path=rustfmt.toml ${PREUPLOAD_FILES} rustfmt = --config-path=rustfmt.toml
[Hook Scripts] [Hook Scripts]
aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."