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 #3006 from arik-so/arik/trampoline/2024-04-trampoline-onion-deseri...
[rust-lightning]
/
fuzz
/
src
/
bin
/
msg_error_message_target.rs
diff --git
a/fuzz/src/bin/msg_error_message_target.rs
b/fuzz/src/bin/msg_error_message_target.rs
index dc418c93d6920b8590445badf807aa3e6af841bb..8609bf65ada5f783660b3807e455625d92d28d9b 100644
(file)
--- a/
fuzz/src/bin/msg_error_message_target.rs
+++ b/
fuzz/src/bin/msg_error_message_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_error_message::*;