summary refs log tree commit diff
path: root/bin/fmt
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fmt')
-rwxr-xr-xbin/fmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fmt b/bin/fmt
index 69d1140..7221347 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 | xargs -0 rustfmt "$@" --
+find . -name '*.rs' -print0 | grep -vz '^./target/' | xargs -0 rustfmt "$@" --