Skip to content

Turn on fast_submodules unconditionally - #97290

Merged
bors merged 1 commit into
rust-lang:masterfrom
jyn514:fast-submodules
May 24, 2022
Merged

Turn on fast_submodules unconditionally#97290
bors merged 1 commit into
rust-lang:masterfrom
jyn514:fast-submodules

Conversation

@jyn514

Copy link
Copy Markdown
Member

I don't know why anyone would turn this off; doing so makes builds much slower (nearly a 60x slowdown according to #49057).
Remove the option to do so, which makes bootstrap a little easier to maintain.

Bootstrap continues to allow you to manage submodules manually by setting submodules = false.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @Mark-Simulacrum

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 22, 2022
@rust-log-analyzer

This comment has been minimized.

@Mark-SimulacrumMark-Simulacrum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It seems like there could be use cases for this to be on, but I agree turning it off seems likely to be pretty rare.

Comment threadsrc/bootstrap/config.rs Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It doesn't seem like there's a significant advantage in continuing to accept the option if we're removing it, a hard error seems reasonable to me.

@jyn514jyn514May 24, 2022

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Sure thing, done. I also added the removal to the changelog (but didn't mark it as a "major change" since I don't think anyone is actually using it).

@Mark-Simulacrum

Copy link
Copy Markdown
Member

r=me with this as a hard error if still specified

@bors delegate+

@bors

bors commented May 22, 2022

Copy link
Copy Markdown
Collaborator

✌️ @jyn514 can now approve this pull request

@apirainoapiraino added the T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. label May 23, 2022
@Mark-SimulacrumMark-Simulacrum added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 23, 2022
I don't know why anyone would turn this off; doing so makes builds much slower (nearly a 60x slowdown according to rust-lang#49057).
Remove the option to do so, which makes bootstrap a little easier to maintain.
Bootstrap continues to allow you to manage submodules manually by setting `submodules = false`.
@jyn514

Copy link
Copy Markdown
MemberAuthor

@bors r=Mark-Simulacrum rollup

@jyn514

Copy link
Copy Markdown
MemberAuthor

@bors r=Mark-Simulacrum

@bors

bors commented May 24, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 5df276e has been approved by Mark-Simulacrum

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 24, 2022
@JohnTitorJohnTitor mentioned this pull request May 24, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request May 24, 2022
Rollup of 5 pull requests
Successful merges:
- rust-lang#97240 (Typo suggestion for a variable with a name similar to struct fields)
- rust-lang#97289 (Lifetime variance fixes for clippy)
- rust-lang#97290 (Turn on `fast_submodules` unconditionally)
- rust-lang#97336 (typo)
- rust-lang#97337 (Fix stabilization version of `Ipv6Addr::to_ipv4_mapped`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 9845a41 into rust-lang:masterMay 24, 2022
@rustbotrustbot added this to the 1.63.0 milestone May 24, 2022
@jyn514
jyn514 deleted the fast-submodules branch May 24, 2022 12:06
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@jyn514@rust-highfive@rust-log-analyzer@Mark-Simulacrum@bors@apiraino@rustbot