commit | 7e4d27b7d27c6c6b20f746fdc4a82d5f03f74130 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Wed Oct 14 07:31:17 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Oct 14 07:31:17 2020 +0000 |
tree | a03e975355cb30c33b96e8b68c1e35f975998a21 | |
parent | c2c8fb9d6f929d63730916859012ed788ddd6484 [diff] | |
parent | 3a5ad753d7d24c990ff45c7f5fa673eef5c41d19 [diff] |
Enable rust formatting preupload hooks am: 3a5ad753d7 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1458238 Change-Id: I59158ef2f74b18aa6245278921694d2cadfe5e40
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 0000000..75ed57c --- /dev/null +++ b/PREUPLOAD.cfg
@@ -0,0 +1,5 @@ +[Builtin Hooks] +rustfmt = true + +[Builtin Hooks Options] +rustfmt = --config-path=rustfmt.toml
diff --git a/rustfmt.toml b/rustfmt.toml new file mode 120000 index 0000000..475ba8f --- /dev/null +++ b/rustfmt.toml
@@ -0,0 +1 @@ +../../../build/soong/scripts/rustfmt.toml \ No newline at end of file