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

Commit 3e22bc61 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Configure rustfmt for preupload hook"

parents b5a5095b acd1ef73
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
[Builtin Hooks]
clang_format = true
rustfmt = true

[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
rustfmt = --config-path=rustfmt.toml

[Hook Scripts]
aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."

rustfmt.toml

0 → 120000
+1 −0
Original line number Diff line number Diff line
../../build/soong/scripts/rustfmt.toml
 No newline at end of file