mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Add static assert for platform not supported
This commit is contained in:
@@ -38,6 +38,10 @@ mod osx;
|
||||
|
||||
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.
|
||||
pub struct MonitorID(winimpl::MonitorID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user