Merge pull request #2947 from tnull/2024-03-log-features-if-mismatch
[rust-lightning] / fuzz / src / bin / msg_shutdown_target.rs
index 1959a8cfa858c9fff0558779fef9710b23ee74eb..9a4cbeb639e0e4765eda0ee792e3c360a384e779 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_shutdown::*;