diff options
author | Dylan Reid <dgreid@chromium.org> | 2020-01-27 16:29:39 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-05 09:00:27 +0000 |
commit | 7e24a8e75934608c3475e0dc5c48d5a3bfc17b31 (patch) | |
tree | c1b4ab7041777f8d3b6c78d72f79a94aa6ee31a6 | |
parent | 8488a0bbbb5828eb0cea77f4081ceecec0119707 (diff) | |
download | crosvm-7e24a8e75934608c3475e0dc5c48d5a3bfc17b31.tar crosvm-7e24a8e75934608c3475e0dc5c48d5a3bfc17b31.tar.gz crosvm-7e24a8e75934608c3475e0dc5c48d5a3bfc17b31.tar.bz2 crosvm-7e24a8e75934608c3475e0dc5c48d5a3bfc17b31.tar.lz crosvm-7e24a8e75934608c3475e0dc5c48d5a3bfc17b31.tar.xz crosvm-7e24a8e75934608c3475e0dc5c48d5a3bfc17b31.tar.zst crosvm-7e24a8e75934608c3475e0dc5c48d5a3bfc17b31.zip |
bin/fmt: Set rustfmt edition to 2018
The default is 2015 and that causes any usage of `async` to cause kokoro errors. Change-Id: I9f962b6f578b0d1992377dfefdd724c080a6f1b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2024365 Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Dylan Reid <dgreid@chromium.org>
-rwxr-xr-x | bin/fmt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fmt b/bin/fmt index 7221347..60070dd 100755 --- a/bin/fmt +++ b/bin/fmt @@ -26,4 +26,4 @@ cd "$(dirname "${BASH_SOURCE[0]}")" # Jump up to root directory of crosvm repo. cd .. -find . -name '*.rs' -print0 | grep -vz '^./target/' | xargs -0 rustfmt "$@" -- +find . -name '*.rs' -print0 | grep -vz '^./target/' | xargs -0 rustfmt --edition=2018 "$@" -- |