Commit 72a97fe
fix: disable bench auto-discovery to exclude fixtures from CodSpeed
Since edition 2018+, Cargo auto-discovers all `benches/*.rs` files as
benchmark targets regardless of explicit `[[bench]]` entries.
`benches/fixtures.rs` is a shared data module (not a runnable benchmark),
so it gets picked up without `harness = false`, causing CodSpeed to
reject it.
Setting `autobenches = false` in `[package]` disables auto-discovery
so only the explicitly declared `[[bench]]` targets are used.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 699b9c7 commit 72a97fe
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments