Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
latin-1 authored Jan 8, 2024
1 parent cfe21d1 commit ff130ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fontconfig-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn main() {

let bindings = builder()
.header("./include/fontconfig.h")
.parse_callbacks(Box::new(CargoCallbacks))
.parse_callbacks(Box::new(CargoCallbacks::new()))
.clang_args(clang_args)
.ctypes_prefix("::libc")
.allowlist_file(r".+[/\\]fontconfig[/\\].+")
Expand Down

0 comments on commit ff130ff

Please sign in to comment.