Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use rustfmt version from rust-toolchain #7963

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Conversation

Jarcho
Copy link
Contributor

@Jarcho Jarcho commented Nov 12, 2021

changelog: None

@rust-highfive
Copy link

r? @flip1995

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 12, 2021
@flip1995
Copy link
Member

Hm, I wonder why we didn't do this earlier. I can't think of anything that would prevent this change.

@bors r+

Thanks!

@bors
Copy link
Collaborator

bors commented Nov 12, 2021

📌 Commit 24d561f has been approved by flip1995

@bors
Copy link
Collaborator

bors commented Nov 12, 2021

⌛ Testing commit 24d561f with merge 610b381...

@bors
Copy link
Collaborator

bors commented Nov 12, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 610b381 to master...

@bors bors merged commit 610b381 into rust-lang:master Nov 12, 2021
bors added a commit that referenced this pull request Nov 12, 2021
Run rustfmt on batches of multiple files

changelog: none

This gives `cargo dev fmt` a nice speed boost, down from 90s (because old) on my laptop and 120s (because windows) on my desktop to ~5s on both

250 at a time was to give windows a good amount of headroom (failed at ~800, rust-lang/rust#40384)

Also adds rustfmt to the toolchain file and has the clippy_dev workflow test using the pinned version as a follow up to #7963
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants