Browse code

clam-format script: also format Rust source

Andy Ragusa authored on 2024/02/28 01:09:05
Showing 1 changed files
... ...
@@ -50,6 +50,8 @@ clang-format-16 -i -verbose unit_tests/*.h
50 50
 clang-format-16 -i -verbose win32/compat/*.c
51 51
 clang-format-16 -i -verbose win32/compat/*.h
52 52
 
53
+rustfmt `find . -name "*.rs"`
54
+
53 55
 # Undo changes to specific files that we don't really want to reformat
54 56
 git checkout libclamav/iana_cctld.h
55 57
 git checkout libclamav/bytecode_api_decl.c