chore: update to bindgen 1.60
This commit is contained in:
parent
87cdcee599
commit
ccc0128cba
|
|
@ -27,7 +27,7 @@ include = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
bindgen = { version = "0.59", default-features = false, features = ["runtime"] }
|
bindgen = { version = "0.60", default-features = false, features = ["runtime"] }
|
||||||
cmake = "0.1"
|
cmake = "0.1"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ 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(deref_nullptr)] // TODO: remove this when https://github.com/rust-lang/rust-bindgen/issues/1651 finally gets fixed
|
|
||||||
mod generated {
|
mod generated {
|
||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue