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

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

Merge "Use canonical version of rustfmt"

parents 4bf8a9e1 810c25ee
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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.toml

deleted100644 → 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"