Skip to content

Commit

Permalink
benches: ignore clippy::incompatible_msrv
Browse files Browse the repository at this point in the history
Fixes clippy findings of the form:

```
warning: current MSRV (Minimum Supported Rust Version) is `1.63.0` but this item is stable since `1.66.0`
   --> benches/benchmark.rs:153:15
    |
153 |     c.iter(|| black_box(assert!(matches!(crl.find_serial(FAKE_SERIAL), Ok(None)))));
    |               ^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
    = note: `#[warn(clippy::incompatible_msrv)]` on by default
```

We don't offer an MSRV for dev-only benchmarks.
  • Loading branch information
cpu authored and djc committed May 3, 2024
1 parent d9375e8 commit fbea270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions benches/benchmark.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::incompatible_msrv)]

use bencher::{benchmark_group, benchmark_main, Bencher};
use once_cell::sync::Lazy;
use rcgen::{
Expand Down

0 comments on commit fbea270

Please sign in to comment.