Skip to content

Commit 1215759

Browse files
committed
upgrade bindgen build-dependency to 0.62.0
fixes build error on too new clang: cloudflare#109
1 parent 3059ba6 commit 1215759

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

boring-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ include = [
2727
]
2828

2929
[build-dependencies]
30-
bindgen = { version = "0.60", default-features = false, features = ["runtime"] }
30+
bindgen = { version = "0.62", default-features = false, features = ["runtime"] }
3131
cmake = "0.1"
3232

3333
[features]

boring-sys/build.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,10 @@ fn main() {
403403
.derive_debug(true)
404404
.derive_default(true)
405405
.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+
})
407410
.default_macro_constant_type(bindgen::MacroTypeVariation::Signed)
408411
.generate_comments(true)
409412
.fit_macro_constants(false)

0 commit comments

Comments
 (0)