From b1a941050801e3cfba58238463a2c7f33439ea6d Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Fri, 7 Jun 2024 10:47:51 +0200 Subject: [PATCH] Add `rustfmt::skip` to the target template --- fuzz/src/bin/target_template.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzz/src/bin/target_template.txt b/fuzz/src/bin/target_template.txt index 7603ccb27..e828aa998 100644 --- a/fuzz/src/bin/target_template.txt +++ b/fuzz/src/bin/target_template.txt @@ -11,6 +11,7 @@ // To modify it, modify target_template.txt and run gen_target.sh instead. #![cfg_attr(feature = "libfuzzer_fuzz", no_main)] +#![cfg_attr(rustfmt, rustfmt_skip)] #[cfg(not(fuzzing))] compile_error!("Fuzz targets need cfg=fuzzing"); -- 2.39.5