-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
chore: update rustc-hash 2.1.0 to 2.1.1 #136605
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Mark-Simulacrum (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
chore: update rustc-hash 2.1.0 to 2.1.1 This PR updates the rustc-hash crate to include a palliative fix for rust-lang#135477. The discussion for this can be found in the issue and on rust-lang/rustc-hash#55. This PR is the output of running `cargo +nightly update rustc-hash@2.1.0`. I ran all tests locally and they all seem to pass, with the exception of `tests/ui/process/nofile-limit.rs` which always fails on my setup. `@steffahn` `@orlp` and `@Noratrieb` all have full context on this, I'm opening the pull request trying to be helpful. I'm not sure if anything else needs to be done, like documentation I'm not aware of or running any special CIs but if I can do anything else please let me know!
Thanks!
you need to install glibc-static for that test to work (not that it really matters it's fine). Let's have a final look at perf but it should be fine. I'm nominating this for a beta backport since this is a large compile time regression for some projects. |
☀️ Try build successful - checks-actions |
come on, bot. @rust-timer build 2b6f2af |
This comment has been minimized.
This comment has been minimized.
@Noratrieb Got it, thanks a lot! The backport would really be helpful to me and my team, since we always try to stay current with rust versions and we're currently stuck on 1.83 haha |
Finished benchmarking commit (2b6f2af): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (primary 1.0%, secondary 2.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResults (secondary -0.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 778.801s -> 779.894s (0.14%) |
ok, let’s hope this is enough for now :) r? lqd @bors r+ |
@lqd Out of curiosity, I'be checking up on the queue and I'm curious to understand how it works. What does "mergeable" mean? And what are the rolloups, how do they work? Sorry to bother with random questions, I'm just using this experience to learn more how stuff works around here |
@steffahn you're like, the best. thanks a lot I'll read it up |
Not sure about “Mergeable” column when there isn’t any entry; but if I had to guess, perhaps only shows “yes” if it used to be “no” in the past (which looks like it can be e.g. from a failed build or merge conflict or so, when bors detects this and complains in the issue – edit: looking through more examples, that’s not quite it; I’m really not sure). I’ve also found more info about rollups, there’s a guide for rust maintainers on how to create them: https://forge.rust-lang.org/release/rollups.html |
Rollups are basically a workaround for the fact that:
So instead, approved PRs get bundled into “rollup” PRs, manually (with the help of a tool). If the rollup passes CI, great, all the PRs in the rollup can merge immediately. If the rollup fails CI, someone will figure out which PR was probably responsible, and unapprove it while the author fixes the problem. In the meantime, the build queue will move on to the next PR, which might be another rollup. Some PRs get marked |
@Zalathar Makes a lot sense, thanks for the explanation! |
@lqd I ended up reading up this doc which mentioned that issues nomited for backport could get prority in the queue. Since @Noratrieb mentioned about backporting this, does that mean this PR could be given some priority? |
This PR already has priority over normal PRs. |
@lqd Nice, I didn't know that! I saw the |
The queue is sorted using multiple fields, but for this case here PRs with rollup=never come before others at the same priority level. Your PR is near the top of the queue, it won’t take much longer. |
@lqd It's all good, I'm just keeping a close eye because using this experience to learn how things work around here. It's been pretty interesting to me |
@lsundi FYI, how fast this PR gets merged to nightly isn't very relevant for the backport; for now, the backport decision is waiting for the next T-compiler meeting next Thursday (Feb 13) anyway. After which the last (regular) merge of beta backports would be done, which is a PR created manually; this will be done before the new stable branch is being created on Monday (Feb 17), on path for a release on the Thursday after (Feb 20). See:
Also, everything else being equal, PRs in the queue are sorted by creation date, so the longer this waits, the higher the priority gets. (I bet it'll be merged within the next 24h anyway, AFAICT there's been a number of only slightly (a few hours) older rollup=never PRs already |
@steffahn As usual your explanation made everything clearer! I'll keep keeping a close watch on things, I'll try to follow the meeting too. Thanks again |
@bors p=5 (rollup scheduling) |
☀️ Test successful - checks-actions |
Finished benchmarking commit (92bedea): comparison URL. Overall result: ❌✅ regressions and improvements - no action needed@rustbot label: -perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -2.0%, secondary -2.4%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 0.2%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResults (secondary -0.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 785.608s -> 786.984s (0.18%) |
Beta backport accepted as per compiler team on Zulip. If this will have adverse side-effects, we will discover anyway in 1.86, so it makes sense to test it now. A backport PR will be authored by the release team at the end of the current development cycle. Backport labels handled by them. @rustbot label +beta-accepted |
[beta] backports - Pattern Migration 2024: try to suggest eliding redundant binding modifiers rust-lang#136577, rust-lang#136857 - chore: update rustc-hash 2.1.0 to 2.1.1 rust-lang#136605 - Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` rust-lang#136724 - fix ensure_monomorphic_enough rust-lang#136839 - Revert "Stabilize `extended_varargs_abi_support`" rust-lang#136897, rust-lang#136934 r? cuviper
This PR updates the rustc-hash crate to include a palliative fix for #135477.
The discussion for this can be found in the issue and on rust-lang/rustc-hash#55.
This PR is the output of running
cargo +nightly update rustc-hash@2.1.0
. I ran all tests locally and they all seem to pass, with the exception oftests/ui/process/nofile-limit.rs
which always fails on my setup.@steffahn @orlp and @Noratrieb all have full context on this, I'm opening the pull request trying to be helpful. I'm not sure if anything else needs to be done, like documentation I'm not aware of or running any special CIs but if I can do anything else please let me know!