We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96efd8d + dea90e2 commit c921048Copy full SHA for c921048
Cargo.toml
@@ -13,4 +13,4 @@ license = "GPL-3.0-only"
13
[dependencies]
14
15
[build-dependencies]
16
-bindgen = "0.49.2"
+bindgen = "0.49.3"
build.rs
@@ -16,7 +16,7 @@ fn main() {
// and functions only.
17
.whitelist_function("xc_.*")
18
// Keep C's enums as Rust's enums.
19
- .default_enum_style(bindgen::EnumVariation::Rust)
+ .default_enum_style(bindgen::EnumVariation::Rust { non_exhaustive: false })
20
// Finish the builder and generate the bindings.
21
.generate()
22
// Unwrap the Result and panic on failure.
0 commit comments