You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Formatting is still inconsistent despite rust-toolchain.toml #956
Other contributors have ran into formatting issues despite the rust-toolchain.toml enforcing the nightly toolchain. Most recently @bc1cindy confirmed that cargo fmt applies a bunch of formatting changes to the master branch despite this output of rustup show:
Default host: aarch64-apple-darwin
rustup home: /Users/cindyvicentino/.rustup
installed toolchains
--------------------
stable-aarch64-apple-darwin (default)
nightly-aarch64-apple-darwin (active)
active toolchain
----------------
name: nightly-aarch64-apple-darwin
active because: overridden by '/Users/cindyvicentino/dev/rust-payjoin/rust-toolchain.toml'
installed targets:
aarch64-apple-darwin
I wonder if we need to be more explicit about the specific nightly version, or maybe even add a rustfmt.toml?
Activity
zealsham commentedon Aug 14, 2025
The repo already have a rustfmt.toml file @spacebear21
spacebear21 commentedon Aug 14, 2025
Ah yes... reading is hard.
DanGould commentedon Aug 15, 2025
I think this is best served by getting a nix flake in order #457 with one precise
cargo fmtcommand that makes the developer environment reproducible.ping @thebrandonlucas
bc1cindy commentedon Aug 16, 2025
YAY! Found it!!
It was a conflict with homebrew rust! Uninstalled it and now the format test works perfectly in CI!
All checks passing in #960 🎉
bc1cindy commentedon Aug 16, 2025
All checks passing in #962 too
spacebear21 commentedon Aug 17, 2025
Nice find! Closing this issue now in favor of #457