Loading PREUPLOAD.cfg +4 −1 Original line number Diff line number Diff line Loading @@ -3,8 +3,11 @@ ignore_merged_commits = true [Builtin Hooks] clang_format = true rustfmt = true [Builtin Hooks Options] rustfmt = --config-path=rustfmt.toml [Hook Scripts] aosp_first = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} ".*$" yapf_hook = ./tools/scripts/yapf_checker.py 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 system/gd/rust/rustfmt.tomldeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line edition = "2018" #width_heuristics = "Max" uncomment out once main rustfmt supports this option newline_style = "Unix" Loading
PREUPLOAD.cfg +4 −1 Original line number Diff line number Diff line Loading @@ -3,8 +3,11 @@ ignore_merged_commits = true [Builtin Hooks] clang_format = true rustfmt = true [Builtin Hooks Options] rustfmt = --config-path=rustfmt.toml [Hook Scripts] aosp_first = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} ".*$" yapf_hook = ./tools/scripts/yapf_checker.py
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
system/gd/rust/rustfmt.tomldeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line edition = "2018" #width_heuristics = "Max" uncomment out once main rustfmt supports this option newline_style = "Unix"