mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Fix warnings
This commit is contained in:
parent
2b5513fa80
commit
fe245e2929
|
@ -46,7 +46,7 @@ mod android;
|
|||
|
||||
mod events;
|
||||
|
||||
#[cfg(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"), not(target_os = "android"))]
|
||||
#[cfg(all(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"), not(target_os = "android")))]
|
||||
compile_error!("Only the `windows`, `linux` and `macos` platforms are supported")
|
||||
|
||||
/// Identifier for a monitor.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#![allow(dead_code)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_uppercase_statics)]
|
||||
|
||||
use libc;
|
||||
|
||||
|
|
Loading…
Reference in a new issue