Skip to content

Commit

Permalink
Bump bindgen to 0.65.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed May 5, 2023
1 parent 4ce9c50 commit 78ebc53
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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
2 changes: 1 addition & 1 deletion boring-sys/deps/boringssl
Submodule boringssl updated 2241 files

0 comments on commit 78ebc53

Please sign in to comment.