Skip to content

Update Rust to 1.97.1#459

Merged
lukewilliamboswell merged 2 commits into
mainfrom
chore/update-rust-1.97.1
Jul 24, 2026
Merged

Update Rust to 1.97.1#459
lukewilliamboswell merged 2 commits into
mainfrom
chore/update-rust-1.97.1

Conversation

@lukewilliamboswell

@lukewilliamboswell lukewilliamboswell commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • pin the repository toolchain to Rust 1.97.1, the latest stable point release
  • raise the declared minimum Rust version from 1.83 to 1.97
  • apply the formatting produced by rustfmt 1.97.1

Release announcement: https://blog.rust-lang.org/2026/07/16/Rust-1.97.1/

Temporary stack

This branch temporarily includes commit 6f3703d from #458 so the Rust upgrade can be validated with the current Roc compiler. Because #458 comes from a fork, GitHub cannot use its head branch directly as this PR's base. Once #458 merges, this branch can be rebased onto main, leaving only the Rust upgrade diff.

Testing

  • cargo fmt --check
  • cargo test --locked --all-targets (8 passed)
  • cargo build --locked --release
  • python3 -m unittest scripts/test_check_release_version.py (3 passed)
  • ./scripts/test.py --operation validate
    • rebuilt the x64 musl host with Rust 1.97.1
    • platform tests: 183 passed
    • all example formatting, checks, and tests passed

@lukewilliamboswell
lukewilliamboswell force-pushed the chore/update-rust-1.97.1 branch from d4fddbe to dc21f53 Compare July 23, 2026 05:54
@lukewilliamboswell
lukewilliamboswell marked this pull request as ready for review July 24, 2026 14:04
@lukewilliamboswell
lukewilliamboswell merged commit 1fd0d31 into main Jul 24, 2026
27 checks passed
@lukewilliamboswell
lukewilliamboswell deleted the chore/update-rust-1.97.1 branch July 24, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants