diff --git a/crates/fontconfig-sys/build.rs b/crates/fontconfig-sys/build.rs index b587d67..b0e4f91 100644 --- a/crates/fontconfig-sys/build.rs +++ b/crates/fontconfig-sys/build.rs @@ -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