mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 21:31:29 +11:00
Track rust nightly
This commit is contained in:
parent
4c1503dc32
commit
24dbe322f7
|
@ -25,14 +25,14 @@ pub use events::*;
|
|||
|
||||
use std::default::Default;
|
||||
|
||||
#[cfg(target_os = "win32")]
|
||||
#[cfg(target_os = "windows")]
|
||||
use winimpl = win32;
|
||||
#[cfg(target_os = "linux")]
|
||||
use winimpl = x11;
|
||||
#[cfg(target_os = "macos")]
|
||||
use winimpl = osx;
|
||||
|
||||
#[cfg(target_os = "win32")]
|
||||
#[cfg(target_os = "windows")]
|
||||
mod win32;
|
||||
#[cfg(target_os = "linux")]
|
||||
mod x11;
|
||||
|
@ -44,8 +44,8 @@ mod osx;
|
|||
|
||||
mod events;
|
||||
|
||||
#[cfg(not(target_os = "win32"), not(target_os = "linux"), not(target_os = "macos"))]
|
||||
compile_error!("Only the `win32`, `linux` and `macos` platforms are supported")
|
||||
#[cfg(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"))]
|
||||
compile_error!("Only the `windows`, `linux` and `macos` platforms are supported")
|
||||
|
||||
/// Identifier for a monitor.
|
||||
pub struct MonitorID(winimpl::MonitorID);
|
||||
|
|
Loading…
Reference in a new issue