mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Create the type layout
Everything typechecks, but nothing is implemented
This commit is contained in:
@@ -18,9 +18,13 @@ mod platform;
|
||||
#[cfg(target_os = "emscripten")]
|
||||
#[path="emscripten/mod.rs"]
|
||||
mod platform;
|
||||
#[cfg(feature = "stdweb")]
|
||||
#[path="stdweb/mod.rs"]
|
||||
mod platform;
|
||||
|
||||
#[cfg(all(not(target_os = "ios"), not(target_os = "windows"), not(target_os = "linux"),
|
||||
not(target_os = "macos"), not(target_os = "android"), not(target_os = "dragonfly"),
|
||||
not(target_os = "freebsd"), not(target_os = "netbsd"), not(target_os = "openbsd"),
|
||||
not(target_os = "emscripten")))]
|
||||
not(target_os = "emscripten"),
|
||||
not(feature = "stdweb")))]
|
||||
compile_error!("The platform you're compiling for is not supported by winit");
|
||||
|
||||
Reference in New Issue
Block a user