projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
`rustfmt`: `fuzz/src/fromstr_to_netaddress.rs`
[rust-lightning]
/
fuzz
/
src
/
bin
/
router_target.rs
diff --git
a/fuzz/src/bin/router_target.rs
b/fuzz/src/bin/router_target.rs
index f9808ebc80f0392983219e2a0f7143fb908ee66b..0ebec5494554b0ce9d03d76ce8829fa9f088294e 100644
(file)
--- a/
fuzz/src/bin/router_target.rs
+++ b/
fuzz/src/bin/router_target.rs
@@
-11,6
+11,7
@@
// To modify it, modify target_template.txt and run gen_target.sh instead.
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
// 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");
#[cfg(not(fuzzing))]
compile_error!("Fuzz targets need cfg=fuzzing");