X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2Fsrc%2Fbin%2Fchanmon_deser_target.rs;h=9e9b17626768388ed6d4fefa369a40c09c2b3769;hb=f53d13bcb8220b3ce39e51a4d20beb23b3930d1f;hp=8b57874cf6c6e37adda6892a30ad081d47492d54;hpb=3a0356fe308ba29916d00f3376cd57ce6613f3d0;p=rust-lightning diff --git a/fuzz/src/bin/chanmon_deser_target.rs b/fuzz/src/bin/chanmon_deser_target.rs index 8b57874c..9e9b1762 100644 --- a/fuzz/src/bin/chanmon_deser_target.rs +++ b/fuzz/src/bin/chanmon_deser_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::chanmon_deser::*;