Fix build against clang 16
This patch upgrades the `bindgen` dependency to version 0.64 which includes a fix for an upstream issue broken builds when building w/ clang 16 or newer [0]. The use of a wildcard `*` was removed in bindgen 0.62 [1], code has been updated to use the regex approach instead to continue working. [0]: https://github.com/rust-lang/rust-bindgen/pull/2316 [1]: https://github.com/rust-lang/rust-bindgen/issues/2373
This commit is contained in:

committed by
Josh Holmer

parent
689a39d9eb
commit
d1fea08f3f
@ -1169,9 +1169,9 @@ fn main() {
|
||||
.parse_callbacks(Box::new(Callbacks));
|
||||
|
||||
if env::var("CARGO_FEATURE_NON_EXHAUSTIVE_ENUMS").is_ok() {
|
||||
builder = builder.rustified_non_exhaustive_enum("*");
|
||||
builder = builder.rustified_non_exhaustive_enum(".*");
|
||||
} else {
|
||||
builder = builder.rustified_enum("*");
|
||||
builder = builder.rustified_enum(".*");
|
||||
}
|
||||
|
||||
// The input headers we would like to generate
|
||||
|
Reference in New Issue
Block a user