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 d3aeada commit 11e1341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fontconfig-sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use std::{env, path::PathBuf};

// https://github.com/rust-lang/rust-bindgen/issues/2712
#[allow(deprecated)]
use bindgen::{builder, CargoCallbacks, EnumVariation, MacroTypeVariation};
use pkg_config::probe_library;

fn main() {
println!("cargo:rerun-if-changed=./include/fontconfig.h");

let library = probe_library("fontconfig").unwrap();
let clang_args: Vec<_> = library
.include_paths
Expand Down

0 comments on commit 11e1341

Please sign in to comment.