mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-02-17 22:11:30 +08:00
Made the import of hbb_common::sysinfo::System more precisely conditioned in src/platform/mod.rs. (#13388)
This commit is contained in:
@@ -29,9 +29,15 @@ pub mod gtk_sudo;
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
use hbb_common::{
|
||||
message_proto::CursorData,
|
||||
sysinfo::{Pid, System},
|
||||
sysinfo::Pid,
|
||||
ResultType,
|
||||
};
|
||||
#[cfg(all(
|
||||
not(all(target_os = "windows", not(target_pointer_width = "64"))),
|
||||
not(any(target_os = "android", target_os = "ios"))))]
|
||||
use hbb_common::{
|
||||
sysinfo::System,
|
||||
};
|
||||
use std::sync::{Arc, Mutex};
|
||||
#[cfg(not(any(target_os = "macos", target_os = "android", target_os = "ios")))]
|
||||
pub const SERVICE_INTERVAL: u64 = 300;
|
||||
|
||||
Reference in New Issue
Block a user