mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 06:40:06 -04:00
Add static assert for platform not supported
This commit is contained in:
@@ -38,6 +38,10 @@ mod osx;
|
|||||||
|
|
||||||
mod events;
|
mod events;
|
||||||
|
|
||||||
|
#[cfg(not(target_os = "win32"), not(target_os = "linux"), not(target_os = "macos"))]
|
||||||
|
#[static_assert]
|
||||||
|
static this_platform_is_not_supposed: bool = false;
|
||||||
|
|
||||||
/// Identifier for a monitor.
|
/// Identifier for a monitor.
|
||||||
pub struct MonitorID(winimpl::MonitorID);
|
pub struct MonitorID(winimpl::MonitorID);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user