summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2022-07-26 09:31:30 -0700
committerMatthew Maurer <mmaurer@google.com>2022-07-26 09:54:10 -0700
commite268a9fca0994969a577dec6b8687ba0ca7b0c84 (patch)
treedcbfc9036c0d3820a0666116f6b1871b54ad0927 /rustfmt.toml
parenteae8088caa8ee5e0bd20baf66247a7126e97c7a2 (diff)
downloadnative-e268a9fca0994969a577dec6b8687ba0ca7b0c84.tar.gz
rust: Enable formatting enforcement for Rust
libbinder was written before PREUPLOAD hooks worked properly. Enable preupload hooks and reformat libbinder in Android Rust style. Bug: 204089163 Test: Modify .rs file against style, attempt upload Change-Id: I2204b66b533b823bc233011330f5cb65c79fd5d6
Diffstat (limited to 'rustfmt.toml')
l---------rustfmt.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 120000
index 0000000000..ee92d9efc5
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1 @@
+../../build/soong/scripts/rustfmt.toml \ No newline at end of file