Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(shell): keine Textstelle cfg(test) im Kommentar vor dem echten Testmodul

purple0b9fd684d298
diff --git a/src-tauri/src/commands/shell.rs b/src-tauri/src/commands/shell.rs
index ca4dd089..5ff9204f 100644
--- a/src-tauri/src/commands/shell.rs
+++ b/src-tauri/src/commands/shell.rs
@@ -186,9 +186,9 @@ pub(crate) fn descendants(root: u32, sys: &sysinfo::System) -> Vec<u32> {
///
/// The production path only reaches this from the non-Windows `kill_tree`
/// below (Windows' own `kill_tree_with` walks `late_descendants` instead); a
-/// plain Windows build with no `#[cfg(test)]` therefore has no caller left
-/// for it, which `cargo clippy --all-targets -- -D warnings` flags as dead
-/// code in that one compilation unit even though the test build (via
+/// plain Windows build with the test feature off therefore has no caller
+/// left for it, which `cargo clippy --all-targets -- -D warnings` flags as
+/// dead code in that one compilation unit even though the test build (via
/// `test_support::worker_descendants_of`, used on every platform) keeps
/// calling it. The gate below covers exactly the compilations that actually
/// use it: every non-Windows build, and every build with tests enabled.