-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Update some rustc dependencies to deduplicate them #92896
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup=never This seems good, and a follow-up PR can bump thorin once that gets released. |
📌 Commit 3713562 has been approved by |
Thanks to @davidtwco for releasing thorin 0.2! As discussed with Mark, this PR is still far from the top of the queue, and we can add the @bors r=Mark-Simulacrum |
📌 Commit 820fd05 has been approved by |
🌲 The tree is currently closed for pull requests below priority 600. This pull request will be tested once the tree is reopened. |
⌛ Testing commit 820fd05 with merge 0367442179f1b7b7faa02ac14f827753f462e7eb... |
💔 Test failed - checks-actions |
@bors retry osx failure while building stage0 std
I wouldn't expect changes to rustc dependencies to affect building libstd with the beta compiler |
The job Click to see the possible cause of the failure (guessed by this bot)
|
☀️ Test successful - checks-actions |
Finished benchmarking commit (84e9189): comparison url. Summary: This change led to moderate relevant regressions 😿 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
Nothing immediately jumps at me here. The changes in the |
Hmm. Should we be doing perf runs even on PR's like this, so that we have a chance of seeing this kind of fallout ahead of time? |
That could be nice, yeah. It could also be nice to do perf runs on all PRs before they landed, I presume. On the other hand, most of these changes are to stress tests and not real world crates (also: small), compared to the improvements to bootstrap times (variance could be involved here), although I assume perf.rlo shows the deduplications as improvements to the build time of rustc's dependencies. If we knew of the fallout ahead of time, we could triage the results earlier and that would make it easier for the weekly perf report process. |
This PR updates
rand
anditertools
in rustc (not the whole workspace) in order to deduplicate them (and hopefully slightly improve compile times).Currently,Update: Thorin 0.2 has now been released, and this PR updatesobject
is still duplicated, but rust-lang/thorin#15 and updatingthorin
in the future will remove the use of version 0.27.rustc_codegen_ssa
to use it and deduplicate theobject
crate.There's a final tiny rustc dependency,
cfg-if
, which will be left: as both versions 0.1.x and 1.0 looked to be heavily depended on, they will require a few cascading updates to be removed.