Skip to content

Commit d165422

Browse files
committed
fix(bench): add missing diagnostics field in routing bench DispatchConfig
dispatch.rs:101 added a `diagnostics: bool` field to DispatchConfig under #[serde(default)] but routing_benchmarks.rs:305 still constructs the config with the old field set, breaking `cargo bench --no-run`. Add `diagnostics: false` to match the field set. Production callers keep using DispatchConfig::default() so this only affects the bench.
1 parent 7d417cf commit d165422

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

benches/routing_benchmarks.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ fn bench_dispatch_config_construction(c: &mut Criterion) {
308308
track_axioms: true,
309309
generate_certificates: true,
310310
timeout: 60,
311+
diagnostics: false,
311312
})
312313
})
313314
});

0 commit comments

Comments
 (0)