]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add `rustfmt::skip` to the target template
authorElias Rohrer <dev@tnull.de>
Fri, 7 Jun 2024 08:47:51 +0000 (10:47 +0200)
committerElias Rohrer <dev@tnull.de>
Fri, 7 Jun 2024 18:37:09 +0000 (20:37 +0200)
fuzz/src/bin/target_template.txt

index 7603ccb271983f64d6d0e5367866f8869b75920d..e828aa998b12801c46602f84d948d20b1ce44aa2 100644 (file)
@@ -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");