From bdf828fa4f15e4faf197cf5d16fdc5b929babd52 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 9 Oct 2026 18:33:48 +0200 Subject: [PATCH] Upgraded to Rust v1.99.0 (#1032) --- app/MindWork AI Studio/wwwroot/changelog/v26.10.1.md | 3 ++- metadata.txt | 2 +- runtime/src/log.rs | 10 ++-------- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/app/MindWork AI Studio/wwwroot/changelog/v26.10.1.md b/app/MindWork AI Studio/wwwroot/changelog/v26.10.1.md index 9741f92d..d8cd538e 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v26.10.1.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v26.10.1.md @@ -15,4 +15,5 @@ - Fixed two confidence levels sharing the same name in the German user interface. Moderate is called "Mäßig" again, and Medium stays "Mittel". - Fixed renaming an external data source (ERI server) leaving its secret behind under the old name in the keychain of your operating system. - Fixed the Search Confluence tool missing pages that the search of your Confluence wiki finds. The tool now searches the same way as the search box of your wiki. -- Upgraded several libraries to improve security. \ No newline at end of file +- Upgraded several libraries to improve security. +- Upgraded to Rust v1.99.0 \ No newline at end of file diff --git a/metadata.txt b/metadata.txt index f771a7af..90a1ead1 100644 --- a/metadata.txt +++ b/metadata.txt @@ -3,7 +3,7 @@ 257 9.0.121 (commit 0882d8715f) 9.0.20 (commit 3879076d9a) -1.98.1 (commit 48a229cea) +1.99.0 (commit b940084d7) 8.15.0 2.11.5 9f102728b59, release diff --git a/runtime/src/log.rs b/runtime/src/log.rs index fc9a39e3..28b53a04 100644 --- a/runtime/src/log.rs +++ b/runtime/src/log.rs @@ -1,5 +1,5 @@ use std::collections::BTreeMap; -use std::env::{current_dir, temp_dir}; +use std::env::{current_dir, home_dir, temp_dir}; use std::error::Error; use std::fmt::Debug; use std::fs::{create_dir_all, OpenOptions}; @@ -130,18 +130,12 @@ fn get_startup_log_path(bundle_identifier: &str) -> (PathBuf, Option) { } (get_non_flatpak_startup_log_path( - home_directory(), + home_dir(), current_dir().ok(), temp_dir(), ), None) } -// Note: Rust plans to remove the deprecation flag for std::env::home_dir() in Rust 1.86.0. -#[allow(deprecated)] -fn home_directory() -> Option { - std::env::home_dir() -} - fn get_non_flatpak_startup_log_path( home_directory: Option, working_directory: Option,