mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-07 04:22:42 +08:00
fix(ci): gate HashSet import with #[cfg(windows)] for Clippy on Linux/macOS
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
/// 服务管理命令
|
||||
/// macOS: launchctl + LaunchAgents plist
|
||||
/// Windows: openclaw CLI + 进程检测
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::collections::HashMap;
|
||||
#[cfg(target_os = "windows")]
|
||||
use std::collections::HashSet;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::{Arc, Mutex, OnceLock};
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
Reference in New Issue
Block a user