Merge pull request #2889 from Sharmalm/2840
[rust-lightning] / fuzz / src / bin / msg_channel_details_target.rs
index cb5021aedfa5e70e18c1d8133c28e3a5889bdf71..4040a7c00844f8a831f4c4343926af22ba842537 100644 (file)
 #[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_channel_details::*;