Files
topgrade/src/steps/os/mod.rs

19 lines
336 B
Rust
Raw Normal View History

2019-06-25 22:47:36 -07:00
#[cfg(target_os = "dragonfly")]
pub mod dragonfly;
2018-12-15 21:52:21 +02:00
#[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;
2019-06-13 22:05:18 +03:00
#[cfg(windows)]
pub use windows::reboot;
#[cfg(unix)]
pub use unix::reboot;