From a0f4dc79a2508a2ea76b98715e4dc3a65fb751b6 Mon Sep 17 00:00:00 2001 From: Andy Ragusa Date: Tue, 27 Feb 2024 08:09:05 -0800 Subject: [PATCH] clam-format script: also format Rust source --- clam-format | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clam-format b/clam-format index e3d8519418..bf12baaba1 100755 --- a/clam-format +++ b/clam-format @@ -50,6 +50,8 @@ clang-format-16 -i -verbose unit_tests/*.h clang-format-16 -i -verbose win32/compat/*.c clang-format-16 -i -verbose win32/compat/*.h +rustfmt `find . -name "*.rs"` + # Undo changes to specific files that we don't really want to reformat git checkout libclamav/iana_cctld.h git checkout libclamav/bytecode_api_decl.c