refactor: restrict AsyncHandler usage to Windows platform only

This commit is contained in:
Tunglies
2025-08-22 04:18:21 +08:00
Unverified
parent 6d112c387d
commit 335ca817d2

View File

@@ -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};