diff options
Diffstat (limited to 'src/app/data_harvester/cpu.rs')
-rw-r--r-- | src/app/data_harvester/cpu.rs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/app/data_harvester/cpu.rs b/src/app/data_harvester/cpu.rs index c4131876..a827b26c 100644 --- a/src/app/data_harvester/cpu.rs +++ b/src/app/data_harvester/cpu.rs @@ -4,15 +4,8 @@ //! //! For load average, macOS and Linux are supported through Heim, FreeBSD by sysinfo. -cfg_if::cfg_if! { - if #[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))] { - pub mod heim; - pub use self::heim::*; - } else if #[cfg(target_os = "freebsd")] { - pub mod sysinfo; - pub use self::sysinfo::*; - } -} +pub mod sysinfo; +pub use self::sysinfo::*; pub type LoadAvgHarvest = [f32; 3]; |