Merge pull request #2947 from tnull/2024-03-log-features-if-mismatch
[rust-lightning] / fuzz / src / bin / chanmon_deser_target.rs
index 9e9b17626768388ed6d4fefa369a40c09c2b3769..40bbf260df276d1c2f6fa885bfffee59b4e15337 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::chanmon_deser::*;