-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Handle rustc_metadata
cases of rustc::potential_query_instability
lint
#131145
Handle rustc_metadata
cases of rustc::potential_query_instability
lint
#131145
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @lcnr (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 (
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
…instability_lint_for_rustc_metadata, r=<try> Handle `rustc_metadata` cases of `rustc::potential_query_instability` lint This PR removes `#![allow(rustc::potential_query_instability)]` line from [`compiler/rustc_metadata/src/lib.rs`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_metadata/src/lib.rs#L3) and converts `FxHash{Map,Set}` types into `FxIndex{Map,Set}` to suppress lint errors. A somewhat tracking issue: rust-lang#84447
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Using the insertion order is no worse than using the totally unstable hashing ordering, so this looks fine to me too. r=me (i.e. I will approve) when perf returns. |
Finished benchmarking commit (c27d1bd): 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 a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary -0.6%, secondary -1.1%)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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 770.256s -> 770.149s (-0.01%) |
Noise. @bors r+ |
☔ The latest upstream changes (presumably #131006) made this pull request unmergeable. Please resolve the merge conflicts. |
There are merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged. You can start a rebase with the following commands:
The following commits are merge commits: |
6eba9da
to
a37edfc
Compare
a37edfc
to
3d8bd6b
Compare
@bors r+ |
@ismailarilik: 🔑 Insufficient privileges: Not in reviewers |
@bors rollup |
@ismailarilik: 🔑 Insufficient privileges: not in try users |
I guess it needs another review. |
@rustbot label -S-waiting-on-bors |
@bors r=compiler-errors |
☀️ Test successful - checks-actions |
Finished benchmarking commit (9ff5fc4): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary 0.3%, secondary 2.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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 772.786s -> 773.326s (0.07%) |
This PR removes
#![allow(rustc::potential_query_instability)]
line fromcompiler/rustc_metadata/src/lib.rs
and convertsFxHash{Map,Set}
types intoFxIndex{Map,Set}
to suppress lint errors.A somewhat tracking issue: #84447