2019-02-06 02:30:33 +11:00
|
|
|
pub use self::platform::*;
|
|
|
|
|
|
|
|
#[cfg(target_os = "windows")]
|
2019-06-04 15:51:01 +10:00
|
|
|
#[path = "windows/mod.rs"]
|
2019-02-06 02:30:33 +11:00
|
|
|
mod platform;
|
2019-06-04 15:51:01 +10:00
|
|
|
#[cfg(any(
|
|
|
|
target_os = "linux",
|
|
|
|
target_os = "dragonfly",
|
|
|
|
target_os = "freebsd",
|
|
|
|
target_os = "netbsd",
|
|
|
|
target_os = "openbsd"
|
|
|
|
))]
|
|
|
|
#[path = "linux/mod.rs"]
|
2019-02-06 02:30:33 +11:00
|
|
|
mod platform;
|
|
|
|
#[cfg(target_os = "macos")]
|
2019-06-04 15:51:01 +10:00
|
|
|
#[path = "macos/mod.rs"]
|
2019-02-06 02:30:33 +11:00
|
|
|
mod platform;
|
|
|
|
#[cfg(target_os = "android")]
|
2019-06-04 15:51:01 +10:00
|
|
|
#[path = "android/mod.rs"]
|
2019-02-06 02:30:33 +11:00
|
|
|
mod platform;
|
|
|
|
#[cfg(target_os = "ios")]
|
2019-06-04 15:51:01 +10:00
|
|
|
#[path = "ios/mod.rs"]
|
2019-02-06 02:30:33 +11:00
|
|
|
mod platform;
|
|
|
|
#[cfg(target_os = "emscripten")]
|
2019-06-04 15:51:01 +10:00
|
|
|
#[path = "emscripten/mod.rs"]
|
2019-02-06 02:30:33 +11:00
|
|
|
mod platform;
|
2019-02-13 12:47:31 +11:00
|
|
|
#[cfg(feature = "stdweb")]
|
2019-06-04 15:51:01 +10:00
|
|
|
#[path = "stdweb/mod.rs"]
|
|
|
|
mod platform;
|
2019-06-25 02:31:56 +10:00
|
|
|
#[cfg(feature = "web_sys")]
|
2019-06-04 15:51:01 +10:00
|
|
|
#[path = "web_sys/mod.rs"]
|
2019-02-13 12:47:31 +11:00
|
|
|
mod platform;
|
2019-02-06 02:30:33 +11:00
|
|
|
|
2019-06-04 15:51:01 +10:00
|
|
|
#[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(feature = "stdweb"),
|
2019-06-25 02:31:56 +10:00
|
|
|
not(feature = "web_sys")
|
2019-06-04 15:51:01 +10:00
|
|
|
))]
|
2019-02-06 02:30:33 +11:00
|
|
|
compile_error!("The platform you're compiling for is not supported by winit");
|