Skip to content

Commit

Permalink
Fix deprecated CargoCallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
s1341 committed Dec 6, 2023
1 parent 3ea6d99 commit be273cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frida-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn main() {

let bindings = bindings
.header_contents("core.h", "#include \"frida-core.h\"")
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.generate_comments(false)
.layout_tests(false)
.generate()
Expand Down

0 comments on commit be273cb

Please sign in to comment.