other: Add reference to why we use sysinfo for Windows network detection for now

This commit is contained in:
ClementTsang 2020-12-29 15:35:06 -05:00
parent 60d0117c85
commit 7e16475b76

View file

@ -15,6 +15,7 @@ impl NetworkHarvest {
} }
} }
/// Separate Windows implementation required due to https://github.com/heim-rs/heim/issues/26.
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
pub async fn get_network_data( pub async fn get_network_data(
sys: &sysinfo::System, prev_net_access_time: Instant, prev_net_rx: &mut u64, sys: &sysinfo::System, prev_net_access_time: Instant, prev_net_rx: &mut u64,