Skip to content

Commit 630f650

Browse files
authored
Merge pull request #26 from berquist/update-bindgen-usage
fix deprecated bindgen usage
2 parents fe27476 + 9c19fb8 commit 630f650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fn main() {
1111
println!("cargo:rustc-link-lib=static=pyquante2");
1212
let bindings_libpyquante2 = bindgen::Builder::default()
1313
.header("libpyquante2/cints.h")
14-
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
14+
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
1515
.generate()
1616
.expect("Unable to generate bindings");
1717
bindings_libpyquante2

0 commit comments

Comments
 (0)