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 #2501 from TheBlueMatt/2023-08-err-pre-accept
[rust-lightning]
/
fuzz
/
src
/
bin
/
msg_announcement_signatures_target.rs
diff --git
a/fuzz/src/bin/msg_announcement_signatures_target.rs
b/fuzz/src/bin/msg_announcement_signatures_target.rs
index dcfc006eb0ce41ea98751a9f2f8471750c4d17e5..593908f41751904d7dd8e36c299be5a9ae5507db 100644
(file)
--- a/
fuzz/src/bin/msg_announcement_signatures_target.rs
+++ b/
fuzz/src/bin/msg_announcement_signatures_target.rs
@@
-12,6
+12,9
@@
#![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_announcement_signatures::*;