From: Elias Rohrer Date: Fri, 7 Jun 2024 08:47:51 +0000 (+0200) Subject: Add `rustfmt::skip` to the target template X-Git-Tag: v0.0.124-beta~91^2~18 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=b1a941050801e3cfba58238463a2c7f33439ea6d;p=rust-lightning Add `rustfmt::skip` to the target template --- 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");