Ignore clippy / rustfmt on autogenerated code
This commit is contained in:
parent
6e9ba1cb96
commit
5dce4d331b
|
|
@ -16,7 +16,9 @@ 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(clippy::useless_transmute, clippy::derive_partial_eq_without_eq)]
|
#[allow(dead_code)]
|
||||||
|
#[allow(clippy::all)]
|
||||||
|
#[rustfmt::skip]
|
||||||
mod generated {
|
mod generated {
|
||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue