Skip to content

Fix format check and pin the rustfmt nightly - #148

Merged
n13 merged 1 commit into
mainfrom
n13/fmt-nightly-pin
Aug 31, 2026
Merged

Fix format check and pin the rustfmt nightly#148
n13 merged 1 commit into
mainfrom
n13/fmt-nightly-pin

Conversation

@n13

@n13 n13 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The cargo +nightly fmt --check gate fails on main since nightly 2026-08-30 started wrapping long trailing comments — the same drift already fixed in qp-rusty-crystals#120. It currently fails CI on every PR (#146, #147) in files those PRs don't touch.

  • Moves the two flagged comments (src/cli/cold_signing.rs:606, src/cli/wormhole.rs:4349) onto their own lines, stable across rustfmt versions.
  • Pins rustfmt to nightly-2026-08-31 in the ubuntu/macos setup actions, ci.yml, and create-release-tag-and-publish.yml — one bump point per file, same approach as rusty-crystals.

Unblocks #146 and #147 (rebase/re-run after this merges) and the next CLI release.

Nightly rustfmt 2026-08-30 wraps two long trailing comments, breaking the
unpinned +nightly format check on main for every PR. Moves both comments
onto their own lines and pins rustfmt to nightly-2026-08-31 in the ubuntu/
macos setup actions, ci.yml and the release workflow, so formatting rules
only change when the pin is bumped.
@n13
n13 merged commit 6245cd0 into main Aug 31, 2026
7 checks passed
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