From f04b8a0fb453b9e11394251ef0d54f6deea4b953 Mon Sep 17 00:00:00 2001 From: Tpt Date: Tue, 15 Mar 2022 19:37:40 +0100 Subject: [PATCH] Hides bindgen generated code warnings --- oxrocksdb-sys/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/oxrocksdb-sys/src/lib.rs b/oxrocksdb-sys/src/lib.rs index 8c9010c7..b611b1f7 100644 --- a/oxrocksdb-sys/src/lib.rs +++ b/oxrocksdb-sys/src/lib.rs @@ -1,3 +1,8 @@ -#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case)] +#![allow( + non_upper_case_globals, + non_camel_case_types, + non_snake_case, + deref_nullptr +)] include!(concat!(env!("OUT_DIR"), "/bindings.rs"));