diff --git a/Cargo.toml b/Cargo.toml index 6c3b4ad..47bb7df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,5 +15,5 @@ paste = "1.0" # intrusive-collections = "0.9" [build-dependencies] -bindgen = "0.59.2" +bindgen = "0.66.1" pkg-config = "0.3" diff --git a/build.rs b/build.rs index 9ecc0ef..19e42dc 100644 --- a/build.rs +++ b/build.rs @@ -142,13 +142,18 @@ fn main() { // for example: `pub eth: ibv_flow_spec_eth` // note: see issue #55149 for more information .derive_copy(true) - .derive_debug(false) + .derive_debug(true) + .no_debug("ibv_qp") + .no_debug("ibv_context") + .no_debug("ibv_cq_ex") + .no_debug("ibv_srq") + .no_debug("ibv_wq") + .no_debug("ibv_cq") .derive_default(false) .generate_comments(false) //.generate_inline_functions(true) //.default_macro_constant_type(bindgen::MacroTypeVariation::Unsigned) .prepend_enum_name(false) - .rustfmt_bindings(true) .size_t_is_usize(true) .disable_untagged_union() .generate()