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.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
ci: openssl 0.10.81, park found under Cargo 1.100, clippy question_mark
purplea1b96150ebb8
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lockindex 97c6a91f..2bf1e991 100644--- a/src-tauri/Cargo.lock+++ b/src-tauri/Cargo.lock@@ -3981,15 +3981,14 @@ dependencies = [[[package]]name = "openssl"-version = "0.10.76"+version = "0.10.81"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "951c002c75e16ea2c65b8c7e4d3d51d5530d8dfa7d060b4776828c88cfb18ecf"+checksum = "77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45"dependencies = ["bitflags 2.13.2","cfg-if","foreign-types 0.3.2","libc",- "once_cell","openssl-macros","openssl-sys",]@@ -4013,9 +4012,9 @@ checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"[[package]]name = "openssl-sys"-version = "0.9.112"+version = "0.9.117"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "57d55af3b3e226502be1526dfdba67ab0e9c96fc293004e79576b2b9edb0dbdb"+checksum = "b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695"dependencies = ["cc","libc",diff --git a/src-tauri/src/commands/engine.rs b/src-tauri/src/commands/engine.rsindex 93d5a133..5a25b13b 100644--- a/src-tauri/src/commands/engine.rs+++ b/src-tauri/src/commands/engine.rs@@ -5358,15 +5358,12 @@ const EXIT_TAIL_LINES: usize = 20;/// The reap, with what it found. `None` while the child lives, or when the/// question could not be asked.pub(crate) fn reap_dead_engine_exit(slot: &mut Option<BundledEngine>) -> Option<SidecarExit> {- let status = match slot.as_mut() {- // Ok(Some(status)) is an exited child; Ok(None) is a live one. An Err- // means the question could not be asked, and a handle we cannot ask- // about is not evidence of death, so it is left alone.- Some(e) => match e.child.try_wait() {- Ok(Some(status)) => status,- _ => return None,- },- None => return None,+ // Ok(Some(status)) is an exited child; Ok(None) is a live one. An Err+ // means the question could not be asked, and a handle we cannot ask+ // about is not evidence of death, so it is left alone.+ let status = match slot.as_mut()?.child.try_wait() {+ Ok(Some(status)) => status,+ _ => return None,};let mut e = slot.take()?;let _ = e.child.wait();diff --git a/src-tauri/src/test_support.rs b/src-tauri/src/test_support.rsindex e1623cbf..b0483988 100644--- a/src-tauri/src/test_support.rs+++ b/src-tauri/src/test_support.rs@@ -383,17 +383,22 @@ pub(crate) fn refusing_port() -> (u16, socket2::Socket) {/// so a test built on one is racing the kernel; a binary this toolchain/// produced is ad-hoc signed and is left alone.///-/// `cargo test` builds examples, so it is there whenever the tests are, and it-/// lives next to the test binary: `target/<profile>/deps/<test binary>` →-/// `target/<profile>/examples/park`.+/// `cargo test` builds examples, so it is there whenever the tests are, and+/// Cargo copies it to `target/<profile>/examples/park`. The test binary sits+/// somewhere below `target/<profile>/`, but where is not stable: up to Cargo+/// 1.99 it was `deps/<test binary>`, from 1.100 it is+/// `build/<package>/<hash>/out/<test binary>`. So walk up from the test binary+/// to the first directory that has `examples/park`.#[cfg(unix)]pub(crate) fn park_binary() -> PathBuf {let exe = std::env::current_exe().expect("current_exe");- let park = exe- .parent()- .and_then(|deps| deps.parent())- .map(|profile| profile.join("examples").join("park"))- .expect("no target/<profile>/ above the test binary");+ let below = exe.parent().expect("the test binary has a directory");+ let park = below+ .ancestors()+ .map(|dir| dir.join("examples").join("park"))+ .find(|park| park.is_file())+ // The old place, so the message below names a path worth looking at.+ .unwrap_or_else(|| below.parent().unwrap_or(below).join("examples").join("park"));assert!(park.is_file(),"{} is missing. It is `src-tauri/examples/park.rs`, which `cargo test` builds \