X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2Fsrc%2Fbin%2Fchanmon_consistency_target.rs;h=c4788b0c1b27302509f61c6c11ad17f56f0bf619;hb=b8cdde8af64189fd1567cbc85cfae26c610af969;hp=25fe23b58caeb4e1fd5c29fd8894833ec70255ef;hpb=5e86bbf97030c69b0118d1bef39554febfb1cbef;p=rust-lightning diff --git a/fuzz/src/bin/chanmon_consistency_target.rs b/fuzz/src/bin/chanmon_consistency_target.rs index 25fe23b5..c4788b0c 100644 --- a/fuzz/src/bin/chanmon_consistency_target.rs +++ b/fuzz/src/bin/chanmon_consistency_target.rs @@ -11,10 +11,17 @@ // To modify it, modify target_template.txt and run gen_target.sh instead. #![cfg_attr(feature = "libfuzzer_fuzz", no_main)] +#![cfg_attr(rustfmt, rustfmt_skip)] #[cfg(not(fuzzing))] compile_error!("Fuzz targets need cfg=fuzzing"); +#[cfg(not(hashes_fuzz))] +compile_error!("Fuzz targets need cfg=hashes_fuzz"); + +#[cfg(not(secp256k1_fuzz))] +compile_error!("Fuzz targets need cfg=secp256k1_fuzz"); + extern crate lightning_fuzz; use lightning_fuzz::chanmon_consistency::*;