Skip to content

Commit 48427c1

Browse files
committed
feat: Fix bindgen args
1 parent 6e64aa9 commit 48427c1

File tree

5 files changed

+1340
-1720
lines changed

5 files changed

+1340
-1720
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ path = "src/main.rs"
1111
[dependencies]
1212
clap = { version = "4", features = ["derive"] }
1313
colored = "2"
14-
ddcutil-sys = { workspace = true, feature = "bindgen" }
14+
ddcutil-sys = { workspace = true, features = ["bindgen"] }
1515
error-stack = "0.5"
1616
thiserror = "2"
1717
tracing = "0.1.37"

ddcutil-sys/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ pub fn main() {
66
let bindings = bindgen::Builder::default()
77
.header("headers/ddcutil.h")
88
.header("headers/version.h")
9-
.allowlist_file("ddcutil_c_api.h")
9+
// .allowlist_file("*.c_api\\.h")
10+
// .allowlist_file("*._types\\.h")
1011
.generate()
1112
.expect("Bindings");
1213
bindings

0 commit comments

Comments
 (0)