Create the type layout

Everything typechecks, but nothing is implemented
This commit is contained in:
Ryan Goldstein 2019-02-12 20:47:31 -05:00
parent 9602716ed2
commit fd4db4000c
3 changed files with 254 additions and 1 deletions

View file

@ -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");