Skip to content

Commit

Permalink
Allow dead_code instead of disabling clippy entirely for bindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
rushilmehra authored and kornelski committed Jan 6, 2025
1 parent baede6c commit 796afe1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions boring-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ use std::convert::TryInto;
use std::ffi::c_void;
use std::os::raw::{c_char, c_int, c_uint, c_ulong};

#[allow(dead_code)]
#[allow(clippy::all)]
#[rustfmt::skip]
#[allow(
clippy::useless_transmute,
clippy::derive_partial_eq_without_eq,
dead_code
)]
mod generated {
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
}
Expand Down

0 comments on commit 796afe1

Please sign in to comment.