2021-09-02 16:54:31 +00:00
|
|
|
#[cfg(target_os = "android")]
|
|
|
|
|
pub mod android;
|
2021-10-25 22:03:57 +03:00
|
|
|
#[cfg(target_os = "linux")]
|
|
|
|
|
mod archlinux;
|
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;
|
2022-11-02 11:00:10 +01:00
|
|
|
#[cfg(target_os = "openbsd")]
|
|
|
|
|
pub mod openbsd;
|
2018-12-15 21:52:21 +02:00
|
|
|
#[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;
|