X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2Fsrc%2Fbin%2Fzbase32_target.rs;h=1553d6d2b66d60cab4cc899e0f7494abfccf6e5b;hb=3dffe54258a374d15571d4ec72f5faa02477b770;hp=0b9d629151d626fc5b2420d175c7250231533ad6;hpb=acc9ff627495eff0a0fff9848a7c6b5e0c4ac46c;p=rust-lightning diff --git a/fuzz/src/bin/zbase32_target.rs b/fuzz/src/bin/zbase32_target.rs index 0b9d6291..1553d6d2 100644 --- a/fuzz/src/bin/zbase32_target.rs +++ b/fuzz/src/bin/zbase32_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::zbase32::*;