Bump bindgen to 0.65.1
This commit is contained in:
parent
4ce9c50b63
commit
530db8841b
|
|
@ -27,7 +27,7 @@ include = [
|
|||
]
|
||||
|
||||
[build-dependencies]
|
||||
bindgen = { version = "0.60", default-features = false, features = ["runtime"] }
|
||||
bindgen = { version = "0.65.1", default-features = false, features = ["runtime"] }
|
||||
cmake = "0.1"
|
||||
|
||||
[features]
|
||||
|
|
|
|||
|
|
@ -403,14 +403,16 @@ fn main() {
|
|||
.derive_debug(true)
|
||||
.derive_default(true)
|
||||
.derive_eq(true)
|
||||
.default_enum_style(bindgen::EnumVariation::NewType { is_bitfield: false })
|
||||
.default_enum_style(bindgen::EnumVariation::NewType {
|
||||
is_bitfield: false,
|
||||
is_global: false,
|
||||
})
|
||||
.default_macro_constant_type(bindgen::MacroTypeVariation::Signed)
|
||||
.generate_comments(true)
|
||||
.fit_macro_constants(false)
|
||||
.size_t_is_usize(true)
|
||||
.layout_tests(true)
|
||||
.prepend_enum_name(true)
|
||||
.rustfmt_bindings(true)
|
||||
.clang_args(get_extra_clang_args_for_bindgen())
|
||||
.clang_args(&["-I", &include_path]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue