Skip to content

Use Rust Diff Check Binary in CI#6770

Merged
ytmimi merged 3 commits intorust-lang:mainfrom
ytmimi:use_rust_diff_check_in_ci
Jan 20, 2026
Merged

Use Rust Diff Check Binary in CI#6770
ytmimi merged 3 commits intorust-lang:mainfrom
ytmimi:use_rust_diff_check_in_ci

Conversation

@ytmimi
Copy link
Contributor

@ytmimi ytmimi commented Jan 19, 2026

This is a follow up to #6751, which actually uses the check_diff rust binary in our CI and removes the ci/check_diff.sh script we were running before.

This PR also adds language_edition and style_edition support similar to #6742 so that the CI job can be used to test different combinations of Rust language edition's and rustfmt style_edition to ensure that we're not introducing breaking changes across those different dimensions.

r? @jieyouxu @Manishearth @calebcartwright

No longer needed since we're moving to the rust version.
Now we're calling our rust binary instead of our old shell script.
This will let us test the `check_diff` binary with different
combinations of Rust language edition and rustfmt style_edition.
@ytmimi
Copy link
Contributor Author

ytmimi commented Jan 19, 2026

@ytmimi ytmimi added the A-CI Area: CI label Jan 19, 2026
Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks

@ytmimi ytmimi merged commit 7b2cf02 into rust-lang:main Jan 20, 2026
26 checks passed
@ytmimi ytmimi deleted the use_rust_diff_check_in_ci branch January 20, 2026 01:19
@ytmimi
Copy link
Contributor Author

ytmimi commented Jan 20, 2026

@jieyouxu thanks for the review 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants