mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 22:12:56 +00:00
suppress nullptr warnings on auto-generated bindgen unit tests
Hopefully, this will be addressed upstream before too long; see rust-bindgen issue #1651.
This commit is contained in:
committed by
Dmitry Ivanov
parent
325dd41277
commit
ad79ca05e9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user