diff --git a/rust/libnotcurses-sys/build.rs b/rust/libnotcurses-sys/build.rs index 0cabf9188..93aae0104 100644 --- a/rust/libnotcurses-sys/build.rs +++ b/rust/libnotcurses-sys/build.rs @@ -25,6 +25,9 @@ fn main() { // The input header we would like to generate // builder for. .header("wrapper.h") + // Remove warnings about improper_ctypes + .blacklist_function("strtold") + .blacklist_function("wcstold") // Tell cargo to invalidate the built crate whenever any of the // included header files changed. .parse_callbacks(Box::new(bindgen::CargoCallbacks));