heim-cpu 0.0.4

Cross-platform CPU information
Documentation
#[cfg(unix)]
mod unix;

cfg_if::cfg_if! {
    if #[cfg(target_os = "linux")] {
        mod linux;

        pub use self::linux::*;
    } else if #[cfg(target_os = "windows")] {
        mod windows;

        pub use self::windows::*;
    }else if #[cfg(target_os = "macos")] {
        mod macos;

        pub use self::macos::*;
    } else {
        compile_error!("Unsupported target OS");
    }
}