pre-upload: add cargo_fmt_check presubmit hook

This will be used to check formatting of Rust code.

BUG=chromium:908640
TEST=repo upload on platform2 and crosvm Rust code

Change-Id: I6d5f188e95b770deef17176fc3732362fa953e19
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1352648
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
1 file changed