Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions constants.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

# 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
# used for static analysis & mutation testing
RUST_LATEST=1.96.1
Comment thread
sandersaares marked this conversation as resolved.
# 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
Expand Down
10 changes: 4 additions & 6 deletions scripts/update_rust_toolchain.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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) {
Expand Down
Loading