Skip to main content

max / synckit

Pin the toolchain to an exact version, not a floating channel fw13 and astra both report rustfmt "1.9.0-stable" while building from 1.97.1 and 1.95.0, and the two disagree on breaking struct literals and inline if-else. The sweep fmt cell was measuring which machine formatted a repo last rather than whether it was formatted, and "stable" does not fix that.
Author: Max Johnson <me@maxj.phd> · 2026-08-08 22:49 UTC
Signed with PGP, not checked
Commit: 3de2ab745682c07820c12459d683da7f5f04ba0d
Parent: 6fe7c78
1 file changed, +11 insertions, -0 deletions
@@ -1,0 +1,11 @@
1 + # Pinned to an exact version, not "stable". fw13 and astra both reported
2 + # rustfmt "1.9.0-stable" while running builds from 1.97.1 and 1.95.0, and the
3 + # two disagree on breaking struct literals and inline if-else, so a floating
4 + # channel leaves the sweep fmt cell measuring which machine formatted last.
5 + #
6 + # Per-directory, so this pins the repo without touching either machine default
7 + # toolchain. rustup installs the version on demand.
8 + [toolchain]
9 + channel = "1.97.1"
10 + profile = "minimal"
11 + components = ["rustfmt", "clippy"]