Merge pull request #2947 from tnull/2024-03-log-features-if-mismatch
[rust-lightning] / fuzz / src / bin / onion_hop_data_target.rs
index b8a357229bf2907f343b541378921f40c0fa745f..0043cee63cee0290f4dd9e6a11b35241d2a7a9db 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::onion_hop_data::*;