2015-04-24 17:51:23 +10:00
|
|
|
pub use self::platform::*;
|
|
|
|
|
|
|
|
#[cfg(target_os = "windows")]
|
|
|
|
#[path="windows/mod.rs"]
|
|
|
|
mod platform;
|
2015-08-30 06:54:17 +10:00
|
|
|
#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
|
2015-04-24 17:51:23 +10:00
|
|
|
#[path="linux/mod.rs"]
|
|
|
|
mod platform;
|
|
|
|
#[cfg(target_os = "macos")]
|
|
|
|
#[path="macos/mod.rs"]
|
|
|
|
mod platform;
|
|
|
|
#[cfg(target_os = "android")]
|
|
|
|
#[path="android/mod.rs"]
|
|
|
|
mod platform;
|
2015-06-05 23:38:21 +10:00
|
|
|
#[cfg(target_os = "ios")]
|
|
|
|
#[path="ios/mod.rs"]
|
|
|
|
mod platform;
|
2015-12-05 21:54:56 +11:00
|
|
|
#[cfg(target_os = "emscripten")]
|
|
|
|
#[path="emscripten/mod.rs"]
|
|
|
|
mod platform;
|
2015-04-24 17:51:23 +10:00
|
|
|
|
2015-08-30 06:54:17 +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"),
|
2015-12-05 21:54:56 +11:00
|
|
|
not(target_os = "freebsd"), not(target_os = "emscripten")))]
|
2015-04-24 17:51:23 +10:00
|
|
|
use this_platform_is_not_supported;
|