Skip to content

Commit 6504fb4

Browse files
musicinmybrainueno
authored andcommitted
Avoid deprecated CargoCallbacks constant
Use `CargoCallbacks::new()` instead.
1 parent f5e9a1f commit 6504fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto-auditing/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn main() {
1212
.header(HDR)
1313
// Tell cargo to invalidate the built crate whenever any of the
1414
// included header files changed.
15-
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
15+
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
1616
.constified_enum_module("audit_event_type_t")
1717
.constified_enum_module("audit_data_type_t")
1818
// Finish the builder and generate the bindings.

0 commit comments

Comments
 (0)