Skip to content

Commit 50567f0

Browse files
committed
Fix WeakPoint initializer in scan_bench: add missing test_context
benches/scan_bench.rs built a WeakPoint literal without the `test_context` field added to the struct in v2.5.5, which broke `cargo bench` (run by .github/workflows/e2e.yml) and any `cargo check --all-targets`. Add `test_context: None`. Verified with `cargo check --benches` (Finished, clean). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0196movYBRwNw8vkLRaaFoTu
1 parent 3f7d0bb commit 50567f0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

benches/scan_bench.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ fn bench_location_extraction(c: &mut Criterion) {
203203
description: "test".to_string(),
204204
recommended_attack: vec![],
205205
suppressed: false,
206+
test_context: None,
206207
};
207208
100
208209
];

0 commit comments

Comments
 (0)