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
/
msg_stfu_target.rs
diff --git
a/fuzz/src/bin/msg_stfu_target.rs
b/fuzz/src/bin/msg_stfu_target.rs
index 9b75073b8256fb49c558093184a7ca2b9754bc5e..bdef12d4c32813a66f9aefb664b4faf7c227f911 100644
(file)
--- a/
fuzz/src/bin/msg_stfu_target.rs
+++ b/
fuzz/src/bin/msg_stfu_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");