Merge pull request #3072 from arik-so/arik/gossip-v2-parsing
[rust-lightning] / fuzz / src / bin / msg_reply_short_channel_ids_end_target.rs
index de3e9f1cce3ae49e9736dd2c968d436a793ec89e..464641e5b5495b67f17df1b80aff011b1acd3f65 100644 (file)
 
 #![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
 
+#[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::msg_targets::msg_reply_short_channel_ids_end::*;