From c670b6d653427ba23c6663272fb9b2c230980ebf Mon Sep 17 00:00:00 2001 From: gwenn Date: Mon, 28 Jun 2021 19:04:27 +0200 Subject: [PATCH] Temporary allow deref_nullptr in tests As a workaround to https://github.com/rust-lang/rust-bindgen/issues/2066 --- libsqlite3-sys/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libsqlite3-sys/src/lib.rs b/libsqlite3-sys/src/lib.rs index cb69ea2..36552f3 100644 --- a/libsqlite3-sys/src/lib.rs +++ b/libsqlite3-sys/src/lib.rs @@ -1,4 +1,5 @@ #![allow(non_snake_case, non_camel_case_types)] +#![cfg_attr(test, allow(deref_nullptr))] // https://github.com/rust-lang/rust-bindgen/issues/2066 pub use self::error::*;