briansmith / ring

Safe, fast, small crypto using Rust
Other
3.69k stars 697 forks source link

Build: Don't mention `invalid_reference_casting` lint. #1922

Closed briansmith closed 7 months ago

briansmith commented 8 months ago

https://doc.rust-lang.org/beta/rustc/lints/listing/deny-by-default.html says that it is deny-by-default, so don't mention it. This eliminates an "unknown lint" warning for Rust versions prior to Rust 1.73.

This was clippy::cast_ref_to_mut prior to Rust 1.72.0, according to https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1720-2023-08-24.

briansmith commented 8 months ago

@DavidHorton5339 Please review the commit message to make sure it is accurate. Thanks!

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c5eb21e) 96.01% compared to head (287c9b9) 96.02%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1922 +/- ## ======================================= Coverage 96.01% 96.02% ======================================= Files 136 136 Lines 20776 20776 Branches 226 226 ======================================= + Hits 19949 19950 +1 Misses 792 792 + Partials 35 34 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.