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_update_fulfill_htlc_target.rs
diff --git
a/fuzz/src/bin/msg_update_fulfill_htlc_target.rs
b/fuzz/src/bin/msg_update_fulfill_htlc_target.rs
index 4820b0adf9fa3d4e50e4a8220340999bd6a67fb4..23197b38eec8704e4faee85eb04e988131e4d8fa 100644
(file)
--- a/
fuzz/src/bin/msg_update_fulfill_htlc_target.rs
+++ b/
fuzz/src/bin/msg_update_fulfill_htlc_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_update_fulfill_htlc::*;
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_update_fulfill_htlc::*;