From 8332e918186b35af7bd4862793cfeb2a37f7e525 Mon Sep 17 00:00:00 2001 From: Joshua Simmons Date: Mon, 7 Aug 2023 23:53:17 +0200 Subject: [PATCH] stb_image: Suppress camel case warning --- libs/ffi/stb_image-sys/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ffi/stb_image-sys/src/lib.rs b/libs/ffi/stb_image-sys/src/lib.rs index 259d7b1..402bde3 100644 --- a/libs/ffi/stb_image-sys/src/lib.rs +++ b/libs/ffi/stb_image-sys/src/lib.rs @@ -11,6 +11,7 @@ mod libc { } #[repr(C)] +#[allow(non_camel_case_types)] pub struct stbi_io_callbacks { /// fill 'data' with 'size' bytes. return number of bytes actually read pub read: extern "C" fn(user: *mut c_void, data: *mut c_char, size: c_int) -> i32, -- 2.49.0