Skip to content

Comments

Update to Rust 1.87 and Rust 2024 edition#372

Merged
DavisVaughan merged 5 commits intomainfrom
feature/rust-bump
Jul 22, 2025
Merged

Update to Rust 1.87 and Rust 2024 edition#372
DavisVaughan merged 5 commits intomainfrom
feature/rust-bump

Conversation

@DavisVaughan
Copy link
Collaborator

@DavisVaughan DavisVaughan commented Jun 20, 2025

Related to #302, which notes how we are tied to cargo-xwin's latest version in their Dockerfile for ARM Windows. Note that they have recently updated that Dockerfile to use Rust 1.87, so we should be able to use it too https://github.com/rust-cross/cargo-xwin/blob/main/Dockerfile.

Rust 2024 edition came with a few rustfmt updates. I ran cargo fmt on the whole project (note we don't use +nightly like we do in Ark). They look harmless.

I'll do a dry-run of building the binaries to ensure it works as expected on all platforms.

Many changes around capitalization ordering, and some around function calls within macros
@DavisVaughan
Copy link
Collaborator Author

I now see RUST_VERSION=1.87.0 in my dry run in https://github.com/posit-dev/air/actions/runs/16141856360/job/45551023899#step:2:72 now that cargo-xwin has been updated and the docker image has been fixed

@DavisVaughan DavisVaughan merged commit a33b66c into main Jul 22, 2025
23 of 24 checks passed
@DavisVaughan DavisVaughan deleted the feature/rust-bump branch July 22, 2025 19:52
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.

1 participant