Allow dead_code instead of disabling clippy entirely for bindgen
This commit is contained in:
parent
baede6c0af
commit
796afe1637
|
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue