From 5a9a4267fffbc4921246df82f7d84ea76e645b0e Mon Sep 17 00:00:00 2001 From: Adam Bezecny Date: Sun, 11 Sep 2022 16:01:56 +0200 Subject: [PATCH] unaligned_references lint allowed for ffi module --- src/ffi.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ffi.rs b/src/ffi.rs index 7845b52..d653928 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -1,5 +1,6 @@ //! Package ffi contains bindings to underlying C API and thin abstraction for managing C handles. #![allow(warnings)] +#![allow(unaligned_references)] include!("ffi/bindings.rs"); // manual entry as API v1.21.0 is using this types as #define so bindings.rs does not contains them