From 14343e89d4ed0efaa1e4a0e0834ef933d0ff8e22 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Mon, 1 Jul 2024 01:52:39 +0800 Subject: [PATCH] fix ci --- src/common.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common.rs b/src/common.rs index c3048f314..6e90a73c1 100644 --- a/src/common.rs +++ b/src/common.rs @@ -186,13 +186,13 @@ pub mod input { pub const MOUSE_BUTTON_FORWARD: i32 = 0x10; } +#[cfg(not(any(target_os = "android", target_os = "ios")))] lazy_static::lazy_static! { - #[cfg(not(any(target_os = "android", target_os = "ios")))] pub static ref CONTENT: Arc> = Default::default(); - pub static ref SOFTWARE_UPDATE_URL: Arc> = Default::default(); } lazy_static::lazy_static! { + pub static ref SOFTWARE_UPDATE_URL: Arc> = Default::default(); pub static ref DEVICE_ID: Arc> = Default::default(); pub static ref DEVICE_NAME: Arc> = Default::default(); } @@ -1728,6 +1728,7 @@ impl ClipboardContext { } } +#[cfg(not(any(target_os = "android", target_os = "ios")))] impl Drop for ClipboardContext { fn drop(&mut self) { if let Some(shutdown) = self.2.take() {