File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ include = [
27
27
]
28
28
29
29
[build-dependencies ]
30
- bindgen = { version = " 0.60 " , default-features = false , features = [" runtime" ] }
30
+ bindgen = { version = " 0.65.1 " , default-features = false , features = [" runtime" ] }
31
31
cmake = " 0.1"
32
32
33
33
[features ]
Original file line number Diff line number Diff line change @@ -403,14 +403,16 @@ fn main() {
403
403
. derive_debug ( true )
404
404
. derive_default ( true )
405
405
. derive_eq ( true )
406
- . default_enum_style ( bindgen:: EnumVariation :: NewType { is_bitfield : false } )
406
+ . default_enum_style ( bindgen:: EnumVariation :: NewType {
407
+ is_bitfield : false ,
408
+ is_global : false ,
409
+ } )
407
410
. default_macro_constant_type ( bindgen:: MacroTypeVariation :: Signed )
408
411
. generate_comments ( true )
409
412
. fit_macro_constants ( false )
410
413
. size_t_is_usize ( true )
411
414
. layout_tests ( true )
412
415
. prepend_enum_name ( true )
413
- . rustfmt_bindings ( true )
414
416
. clang_args ( get_extra_clang_args_for_bindgen ( ) )
415
417
. clang_args ( & [ "-I" , & include_path] ) ;
416
418
You can’t perform that action at this time.
0 commit comments