Merge pull request #3057 from G8XSU/2024-05-08-claimable-persist-3049
[rust-lightning] / fuzz / src / bin / msg_query_short_channel_ids_target.rs
index 6c470e3b12ed6ce68227d9a97ab3eaba363a87b6..25fcf311ee1e8ba3ab158f3470aee9a0bdd8d630 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::msg_targets::msg_query_short_channel_ids::*;