From 93660289194e3ea49704d2e0036327353706be79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Cruz?= Date: Sat, 8 Aug 2020 15:32:02 +0200 Subject: [PATCH] Remove warnings about improper_ctypes Fixes: #856 --- rust/libnotcurses-sys/build.rs | 3 +++ 1 file changed, 3 insertions(+) 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));