diff --git a/postgres_ffi/src/lib.rs b/postgres_ffi/src/lib.rs index e7553721b2..88128bb7df 100644 --- a/postgres_ffi/src/lib.rs +++ b/postgres_ffi/src/lib.rs @@ -1,6 +1,9 @@ #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] +// suppress warnings on rust 1.53 due to bindgen unit tests. +// https://github.com/rust-lang/rust-bindgen/issues/1651 +#![allow(deref_nullptr)] include!(concat!(env!("OUT_DIR"), "/bindings.rs")); pub mod controlfile_utils;