From 335ca817d277ca9a4d406865869800ddec9ea558 Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Fri, 22 Aug 2025 04:18:21 +0800 Subject: [PATCH] refactor: restrict AsyncHandler usage to Windows platform only --- src-tauri/src/core/async_proxy_query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/core/async_proxy_query.rs b/src-tauri/src/core/async_proxy_query.rs index 0b6a1e7b..e384a46f 100644 --- a/src-tauri/src/core/async_proxy_query.rs +++ b/src-tauri/src/core/async_proxy_query.rs @@ -1,4 +1,4 @@ -#[cfg(any(target_os = "windows", target_os = "linux"))] +#[cfg(target_os = "windows")] use crate::process::AsyncHandler; use anyhow::Result; use serde::{Deserialize, Serialize};