Updated `ClosureReason::HolderForceClosed` with broadcasted txn.
[rust-lightning] / fuzz / src / bin / full_stack_target.rs
index 7dae655316b08e63ba2606f2556d298d53e57052..1f5238940e5baefd22a153faf12dd084d2a2ccea 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::full_stack::*;