Skip to content

bench: fix criterion 0.8 black_box deprecation#91

Open
todor-a wants to merge 1 commit into
mainfrom
fix/benchmark-black-box-deprecation
Open

bench: fix criterion 0.8 black_box deprecation#91
todor-a wants to merge 1 commit into
mainfrom
fix/benchmark-black-box-deprecation

Conversation

@todor-a

@todor-a todor-a commented Mar 6, 2026

Copy link
Copy Markdown
Owner

Fixes the remaining failing check seen on Dependabot PR #75.

Summary

  • replace deprecated criterion::black_box with std::hint::black_box in benchmark code
  • keeps benchmark behavior unchanged while making it compatible with criterion 0.8
  • unblocks Run Benchmarks with -D warnings

Context

Dependabot branches are not maintainer-writable in this repo (maintainerCanModify=false), so this fix is provided as a standalone PR to merge into main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant