Skip to content

Commit c1ca488

Browse files
max-sixtyclaude
andauthored
Update cargo-dist to 0.30.2 and fix Windows runner (#821)
## Summary Fixes the 1.44.0 release workflow failure by updating cargo-dist and adding explicit Windows runner configuration. ## Changes - **Update cargo-dist**: 0.27.0 → 0.30.2 - **Add Windows runner**: Explicitly set `x86_64-pc-windows-msvc = "windows-2022"` ## Problem The 1.44.0 release workflow failed because the Windows build job tried to use the deprecated `windows-2019` runner, which was retired on June 30, 2025. ## Solution 1. Updated cargo-dist to the latest version (0.30.2) which includes runner improvements 2. Added explicit `windows-2022` runner in the custom runners configuration ## Testing - ✅ All lints passed - ✅ All tests passed (206 tests) After this PR is merged, the 1.44.0 tag can be updated to point to the new commit and the release workflow will succeed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5da894d commit c1ca488

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# we specify bash to get pipefail; it guards against the `curl` command
6464
# failing. otherwise `sh` won't catch that `curl` returned non-0
6565
shell: bash
66-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.27.0/cargo-dist-installer.sh | sh"
66+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.2/cargo-dist-installer.sh | sh"
6767
- name: Cache dist
6868
uses: actions/upload-artifact@v4
6969
with:

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resolver = "2"
55
# Config for 'dist'
66
[workspace.metadata.dist]
77
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
8-
cargo-dist-version = "0.27.0"
8+
cargo-dist-version = "0.30.2"
99
# CI backends to support
1010
ci = "github"
1111
# Whether to install an updater program
@@ -33,6 +33,7 @@ allow-dirty = ["ci"]
3333
[workspace.metadata.dist.github-custom-runners]
3434
x86_64-unknown-linux-gnu = "ubuntu-22.04"
3535
x86_64-unknown-linux-musl = "ubuntu-22.04"
36+
x86_64-pc-windows-msvc = "windows-2022"
3637

3738
[profile.dist]
3839
inherits = "release"

0 commit comments

Comments
 (0)