From fb78ef7be256e04775b06626aa336d581d06cb51 Mon Sep 17 00:00:00 2001 From: mulhern Date: Thu, 17 Oct 2024 14:24:04 -0400 Subject: [PATCH] Allow improper ctypes in bindgen-generated bindings https://github.com/rust-lang/rust-bindgen/issues/2845 Signed-off-by: mulhern --- src/systemd/bindings.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/systemd/bindings.rs b/src/systemd/bindings.rs index 5f41b12864..e28289ff46 100644 --- a/src/systemd/bindings.rs +++ b/src/systemd/bindings.rs @@ -6,6 +6,7 @@ #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] +#![allow(improper_ctypes)] #![allow(clippy::redundant_static_lifetimes)] #![allow(clippy::unreadable_literal)] #![allow(clippy::missing_safety_doc)]