mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Fixed broken build with latest rust update (use 'foo' = 'bar' syntax error)
This commit is contained in:
parent
24dbe322f7
commit
44c15bf6e6
|
@ -26,11 +26,11 @@ pub use events::*;
|
||||||
use std::default::Default;
|
use std::default::Default;
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
use winimpl = win32;
|
use win32 as winimpl;
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
use winimpl = x11;
|
use x11 as winimpl;
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
use winimpl = osx;
|
use osx as winimpl;
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
mod win32;
|
mod win32;
|
||||||
|
|
Loading…
Reference in a new issue