Make router benchmarks more realistic by not running test-only code
[rust-lightning] / lightning / src / routing / network_graph.rs
index ee310830afa93ee8e4bc55cccba603cf26897ac2..5a84f35c28dd4f1990ef0eda4611c53a139cb615 100644 (file)
@@ -2687,7 +2687,7 @@ mod tests {
        }
 }
 
-#[cfg(all(test, feature = "unstable"))]
+#[cfg(all(test, feature = "_bench_unstable"))]
 mod benches {
        use super::*;