projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2725 from shaavan/issue2096
[rust-lightning]
/
fuzz
/
src
/
bin
/
msg_reply_short_channel_ids_end_target.rs
diff --git
a/fuzz/src/bin/msg_reply_short_channel_ids_end_target.rs
b/fuzz/src/bin/msg_reply_short_channel_ids_end_target.rs
index de3e9f1cce3ae49e9736dd2c968d436a793ec89e..d802299b28102e6ca62620857d0e642916d878cd 100644
(file)
--- a/
fuzz/src/bin/msg_reply_short_channel_ids_end_target.rs
+++ b/
fuzz/src/bin/msg_reply_short_channel_ids_end_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_reply_short_channel_ids_end::*;
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_reply_short_channel_ids_end::*;