Allow dead_code instead of disabling clippy entirely for bindgen

This commit is contained in:
Rushil Mehra 2024-07-31 00:52:31 -07:00 committed by Kornel
parent baede6c0af
commit 796afe1637
1 changed files with 5 additions and 3 deletions

View File

@ -16,9 +16,11 @@ use std::convert::TryInto;
use std::ffi::c_void; use std::ffi::c_void;
use std::os::raw::{c_char, c_int, c_uint, c_ulong}; use std::os::raw::{c_char, c_int, c_uint, c_ulong};
#[allow(dead_code)] #[allow(
#[allow(clippy::all)] clippy::useless_transmute,
#[rustfmt::skip] clippy::derive_partial_eq_without_eq,
dead_code
)]
mod generated { mod generated {
include!(concat!(env!("OUT_DIR"), "/bindings.rs")); include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
} }