Skip to content

Commit

Permalink
Merge pull request #115 from nox/bindgen
Browse files Browse the repository at this point in the history
Bump bindgen to 0.65.1
  • Loading branch information
inikulin authored May 9, 2023
2 parents 4ce9c50 + 530db88 commit 7cfe206
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boring-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 4 additions & 2 deletions boring-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down

0 comments on commit 7cfe206

Please sign in to comment.