From 797ef1ace8afe1024a089618d5dfa127df18792c Mon Sep 17 00:00:00 2001 From: Stu Black Date: Sun, 5 Apr 2026 19:58:39 -0400 Subject: [PATCH] Fix false positive improper_ctypes warnings for structs that are opaque types from C (#27) This should be simple enough not to need further review. It gets rid of a bunch of warnings about struct fields defined with Rust-only types which are not visible from C. Reviewed-on: https://git.sdf.org/vitrine/wmaker/pulls/27 --- WINGs/wings-rs/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/WINGs/wings-rs/src/lib.rs b/WINGs/wings-rs/src/lib.rs index db2efa54..31ba6e97 100644 --- a/WINGs/wings-rs/src/lib.rs +++ b/WINGs/wings-rs/src/lib.rs @@ -1,3 +1,4 @@ +#[allow(improper_ctypes)] #[allow(non_camel_case_types)] #[allow(non_snake_case)] #[allow(non_upper_case_globals)]