summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-05-06 00:58:19 -0400
committerGitHub <noreply@github.com>2023-05-06 00:58:19 -0400
commit4cdedffaeee01190a054498dce21b5003496a71e (patch)
tree23980bf04319930bb3757ac00719f6caa08add58
parentf237babb580bf5569e1b61021d9354bad69a19a9 (diff)
other: use sysinfo for temps for android and ios (#1130)
-rw-r--r--src/app/data_harvester/temperature.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/data_harvester/temperature.rs b/src/app/data_harvester/temperature.rs
index 4ad76232..ea30f760 100644
--- a/src/app/data_harvester/temperature.rs
+++ b/src/app/data_harvester/temperature.rs
@@ -7,7 +7,7 @@ cfg_if::cfg_if! {
if #[cfg(target_os = "linux")] {
pub mod linux;
pub use self::linux::*;
- } else if #[cfg(any(target_os = "freebsd", target_os = "macos", target_os = "windows"))] {
+ } else if #[cfg(any(target_os = "freebsd", target_os = "macos", target_os = "windows", target_os = "android", target_os = "ios"))] {
pub mod sysinfo;
pub use self::sysinfo::*;
}