winit/platform_impl/
mod.rs1pub use self::platform::*;
2
3#[cfg(target_os = "windows")]
4#[path = "windows/mod.rs"]
5mod platform;
6#[cfg(any(
7 target_os = "linux",
8 target_os = "dragonfly",
9 target_os = "freebsd",
10 target_os = "netbsd",
11 target_os = "openbsd"
12))]
13#[path = "linux/mod.rs"]
14mod platform;
15#[cfg(target_os = "macos")]
16#[path = "macos/mod.rs"]
17mod platform;
18#[cfg(target_os = "android")]
19#[path = "android/mod.rs"]
20mod platform;
21#[cfg(target_os = "ios")]
22#[path = "ios/mod.rs"]
23mod platform;
24#[cfg(target_arch = "wasm32")]
25#[path = "web/mod.rs"]
26mod platform;
27
28#[cfg(all(
29 not(target_os = "ios"),
30 not(target_os = "windows"),
31 not(target_os = "linux"),
32 not(target_os = "macos"),
33 not(target_os = "android"),
34 not(target_os = "dragonfly"),
35 not(target_os = "freebsd"),
36 not(target_os = "netbsd"),
37 not(target_os = "openbsd"),
38 not(target_arch = "wasm32"),
39))]
40compile_error!("The platform you're compiling for is not supported by winit");