mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
2f7fd2e5f7
Before this commit, both static and dynamic benches were converted to a DynTestFn, with a boxed closure that ran the benchmarks exactly once. While this worked, it conflicted with -Z panic-abort-tests as the flag does not support dynamic tests. With this change, a StaticBenchFn is converted to a StaticBenchAsTestFn, avoiding any dynamic test creation. DynBenchFn is also converted to DynBenchAsTestFn for completeness. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |