From 8f580a1325a85f669aa0a650fd753ac976365681 Mon Sep 17 00:00:00 2001 From: Sander Saares Date: Wed, 1 Jul 2026 07:58:59 +0300 Subject: [PATCH 1/3] build: upgrade Rust toolchain to 1.96.1 Pins RUST_LATEST to 1.96.1 to pull in Cargo bugfixes, notably proper HTTP retries. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- constants.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.env b/constants.env index 74568a1fc..b47fd647f 100644 --- a/constants.env +++ b/constants.env @@ -8,7 +8,7 @@ # used for testing, ensures the MSRV promise is kept; must match Cargo.toml [workspace.package].rust-version RUST_MSRV=1.93 # used for static analysis & mutation testing; must match rust-toolchain.toml -RUST_LATEST=1.96 +RUST_LATEST=1.96.1 # used for coverage and extended analysis; update on a regular basis RUST_NIGHTLY=nightly-2026-05-30 # used for external type exposure checks; update alongside updates to cargo-check-external-types From 3a8eb88014fef24f7985ea3e227d95cfd7b19fdc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Jul 2026 06:04:22 +0000 Subject: [PATCH 2/3] build: drop obsolete rust-toolchain.toml reference in constants.env --- constants.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.env b/constants.env index b47fd647f..a418f90cc 100644 --- a/constants.env +++ b/constants.env @@ -7,7 +7,7 @@ # used for testing, ensures the MSRV promise is kept; must match Cargo.toml [workspace.package].rust-version RUST_MSRV=1.93 -# used for static analysis & mutation testing; must match rust-toolchain.toml +# used for static analysis & mutation testing RUST_LATEST=1.96.1 # used for coverage and extended analysis; update on a regular basis RUST_NIGHTLY=nightly-2026-05-30 From a8d96f91227c1ec67c4054634b1fb23a71658b44 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Jul 2026 06:29:11 +0000 Subject: [PATCH 3/3] fix(scripts): keep full RUST_LATEST patch version in updater --- scripts/update_rust_toolchain.ps1 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/update_rust_toolchain.ps1 b/scripts/update_rust_toolchain.ps1 index 95f0e05d0..d87a7f045 100644 --- a/scripts/update_rust_toolchain.ps1 +++ b/scripts/update_rust_toolchain.ps1 @@ -56,13 +56,11 @@ function Get-LatestStableRustVersion { throw "No stable release found" } - # Extract major.minor version (e.g., "1.92.0" -> "1.92") - if ($stableRelease.tag_name -match '^(\d+\.\d+)\.\d+$') { - $version = $Matches[1] + # Keep the full x.y.z version (e.g., "1.92.0") so the pinned Cargo bugfix patch is preserved + if ($stableRelease.tag_name -match '^\d+\.\d+\.\d+$') { return @{ Success = $true - Version = $version - FullVersion = $stableRelease.tag_name + Version = $stableRelease.tag_name } } else { @@ -184,7 +182,7 @@ Write-Host " RUST_NIGHTLY_EXTERNAL_TYPES: $currentRustNightlyExternal" Write-Host "" Write-Host "New versions:" -Write-Host " RUST_LATEST : $newStableVersion (full: $($stableResult.FullVersion))" +Write-Host " RUST_LATEST : $newStableVersion" Write-Host " RUST_NIGHTLY : $yesterdayNightly" if ($externalTypesResult.Success) {