projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
f im an idiot
[rust-lightning]
/
fuzz
/
src
/
bin
/
msg_gossip_timestamp_filter_target.rs
diff --git
a/fuzz/src/bin/msg_gossip_timestamp_filter_target.rs
b/fuzz/src/bin/msg_gossip_timestamp_filter_target.rs
index 1aba4e3fefe37f73497a0583d93607125853df5e..aa94f2001cfaab1bd5782c4d75fb6977a2a51b8f 100644
(file)
--- a/
fuzz/src/bin/msg_gossip_timestamp_filter_target.rs
+++ b/
fuzz/src/bin/msg_gossip_timestamp_filter_target.rs
@@
-12,6
+12,9
@@
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
+#[cfg(not(fuzzing))]
+compile_error!("Fuzz targets need cfg=fuzzing");
+
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_gossip_timestamp_filter::*;
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_gossip_timestamp_filter::*;