[Rust] Pin rustfmt for deterministic formatting - #574
Draft
teodordelibasic-db wants to merge 1 commit into
Draft
Conversation
teodordelibasic-db
force-pushed
the
teodor-delibasic_data/zerobus/rustfmt-alignment
branch
3 times, most recently
from
July 23, 2026 09:49
0c21341 to
392dff9
Compare
Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
teodordelibasic-db
force-pushed
the
teodor-delibasic_data/zerobus/rustfmt-alignment
branch
from
July 23, 2026 11:40
392dff9 to
d480aaf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
Rust formatting can drift between local development and CI when they use different rustfmt releases. This PR makes formatting deterministic:
nightly-2025-08-07behind a shared.github/scripts/rustfmt.shentry point;Compilation, linting, and tests continue to use the existing stable toolchains. The pin applies only to formatting.
How is this tested?
No behavioral tests were added because this PR changes formatting configuration and mechanically reformats existing sources. Validation focused on formatter selection, configuration discovery, and the affected entry points:
nightly-2025-08-07and reportedrustfmt 1.8.0-nightly (7d82b83ed5 2025-08-06);