Replaces black_box() function from criterion with the one from the standard library std::hint::black_box() after stabilizing it.
Replaces bench_with_input() function with manual black boxing since they are still using criterion::black_box function under the hood.
The function from criterion is already marked as deprecated in their master branch and will be using the one from the standard library in their next release as well.
This PR:
black_box()
function from criterion with the one from the standard librarystd::hint::black_box()
after stabilizing it.bench_with_input()
function with manual black boxing since they are still usingcriterion::black_box
function under the hood.The function from criterion is already marked as deprecated in their master branch and will be using the one from the standard library in their next release as well.