fix(ci): gate HashSet import with #[cfg(windows)] for Clippy on Linux/macOS

This commit is contained in:
晴天
2026-03-11 03:16:49 +08:00
parent 436932e545
commit 073946740a

View File

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