summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-12-29 15:35:06 -0500
committerClementTsang <cjhtsang@uwaterloo.ca>2020-12-29 15:35:06 -0500
commit7e16475b7680a7cbee907060b8b1fa9c73fa59ff (patch)
treedc5849943fefcb9a942d870ea6c835bce5b13919 /src
parent60d0117c85e2e2f3d3072f767832a74093c496c1 (diff)
other: Add reference to why we use sysinfo for Windows network detection for now
Diffstat (limited to 'src')
-rw-r--r--src/app/data_harvester/network.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/data_harvester/network.rs b/src/app/data_harvester/network.rs
index d4ff3ca9..dcb496cd 100644
--- a/src/app/data_harvester/network.rs
+++ b/src/app/data_harvester/network.rs
@@ -15,6 +15,7 @@ impl NetworkHarvest {
}
}
+/// Separate Windows implementation required due to https://github.com/heim-rs/heim/issues/26.
#[cfg(target_os = "windows")]
pub async fn get_network_data(
sys: &sysinfo::System, prev_net_access_time: Instant, prev_net_rx: &mut u64,