From 3c2b46d24aa6c8011a1e198143752f2aa414d585 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 7 Jun 2026 00:07:24 +0300 Subject: feat: add native windows beta support --- src/server/notifications.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/server/notifications.rs') diff --git a/src/server/notifications.rs b/src/server/notifications.rs index f0b2d746..711087f5 100644 --- a/src/server/notifications.rs +++ b/src/server/notifications.rs @@ -64,10 +64,14 @@ fn toast_event_text(kind: app::state::ToastKind) -> &'static str { #[cfg(test)] mod tests { + #[cfg(unix)] use super::*; + #[cfg(unix)] use crate::detect::Agent; + #[cfg(unix)] use crate::terminal::TerminalState; + #[cfg(unix)] fn init_repo(path: &std::path::Path) { let status = std::process::Command::new("git") .args(["init", "-q"]) @@ -77,6 +81,7 @@ mod tests { assert!(status.success(), "git init failed for {}", path.display()); } + #[cfg(unix)] #[tokio::test] async fn toast_message_uses_live_root_runtime_cwd_label() { let mut state = AppState::test_new(); -- cgit v1.2.3