Files
topgrade/src/steps/os/mod.rs
Laurent le Beau-Martin ebb66e26a4 Add Android support (#749)
2021-09-02 19:54:31 +03:00

21 lines
383 B
Rust

#[cfg(target_os = "android")]
pub mod android;
#[cfg(target_os = "dragonfly")]
pub mod dragonfly;
#[cfg(target_os = "freebsd")]
pub mod freebsd;
#[cfg(target_os = "linux")]
pub mod linux;
#[cfg(target_os = "macos")]
pub mod macos;
#[cfg(unix)]
pub mod unix;
#[cfg(target_os = "windows")]
pub mod windows;
#[cfg(windows)]
pub use windows::reboot;
#[cfg(unix)]
pub use unix::reboot;