8000 chore: Update to `bindgen` 0.69.1 · edgenai/llama_cpp-rs@ccb794d · GitHub
[go: up one dir, main page]

Skip to content

Commit ccb794d

Browse files
committed
chore: Update to bindgen 0.69.1
1 parent 3eddbab commit ccb794d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/llama_cpp_sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ publish = true
1313
link-cplusplus = "1.0.9"
1414

1515
[build-dependencies]
16-
bindgen = "0.68.1"
16+
bindgen = "0.69.1"
1717
cmake = "0.1.50"

crates/llama_cpp_sys/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ fn main() {
7474
7575
").unwrap();
7676
}
77+
7778
let dst = cmake::Config::new(&build_dir)
7879
.configure_arg("-DLLAMA_STATIC=On")
7980
.configure_arg("-DLLAMA_BUILD_EXAMPLES=Off")
@@ -87,7 +88,7 @@ fn main() {
8788

8889
let bindings = bindgen::Builder::default()
8990
.header(header_path.to_string_lossy())
90-
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
91+
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
9192
.generate_comments(false)
9293
.allowlist_function("llama_.*")
9394
.allowlist_type("llama_.*")

0 commit comments

Comments
 (0)
0