Redox OS support (#2588)
* Add Redox OS support * Simplify control flow usage * Apply more recommendations * Update naming to indicate that Orbital is a platform * Adjust import order
This commit is contained in:
parent
2f52c23fa9
commit
66ca445caa
18 changed files with 1476 additions and 85 deletions
|
|
@ -19,6 +19,9 @@ mod platform;
|
|||
#[cfg(wasm_platform)]
|
||||
#[path = "web/mod.rs"]
|
||||
mod platform;
|
||||
#[cfg(orbital_platform)]
|
||||
#[path = "orbital/mod.rs"]
|
||||
mod platform;
|
||||
|
||||
pub use self::platform::*;
|
||||
|
||||
|
|
@ -59,5 +62,6 @@ impl From<Fullscreen> for RootFullscreen {
|
|||
not(x11_platform),
|
||||
not(wayland_platform),
|
||||
not(wasm_platform),
|
||||
not(orbital_platform),
|
||||
))]
|
||||
compile_error!("The platform you're compiling for is not supported by winit");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue