-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Remove the remains of query categories #81609
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove the remains of query categories #81609
Conversation
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
A bit of context: I originally kept the query category syntax for a future attempt to split the monolithic query system into per-group subsystems. I since changed my mind, and did not get around to cleaning this up. Thanks @Julian-Wollersberger. About the blame information: git is able to reconstruct the blame information when performing a About moving the query declarations to rustc_query_system: how will it interact with #70951? (I still intend to fix the perf regression and get that PR merged some day). |
You're welcome :)
I tried that once, but it doesn't seem to work with GitHub.
I believe it wouldn't have any impact, just that the The original goal was to prevent the query system from being monomorphized for every single query kind. Maybe I can find a different way. Any ideas? |
It doesn't work with github, but it works fine locally with |
@bors r+ |
📌 Commit 988d93c has been approved by |
…ories, r=davidtwco Remove the remains of query categories Back in October 2020 in rust-lang#77830 `@cjgillot` removed the query categories information from the profiler, but the actual definitions which query was in which category remained, although unused. Here I clean that up, to simplify the query definitions even further. It's unfortunate that this loses all the context for `git blame`, ~~but I'm working on moving those query definitions into `rustc_query_system`, which will lose that context anyway.~~ EDIT: Might not work out. The functional changes are in the first commit. The second one only changes the indentation.
…as-schievink Rollup of 11 pull requests Successful merges: - rust-lang#80629 (Add lint for 2229 migrations) - rust-lang#81022 (Add Frames Iterator for Backtrace) - rust-lang#81481 (move some tests) - rust-lang#81485 (Add some tests for associated-type-bounds issues) - rust-lang#81492 (rustdoc: Note why `rustdoc::html::markdown` is public) - rust-lang#81577 (const_evaluatable: consider sub-expressions to be evaluatable) - rust-lang#81599 (Implement `TrustedLen` for `Fuse<I: TrustedLen>`) - rust-lang#81608 (Improve handling of spans around macro result parse errors) - rust-lang#81609 (Remove the remains of query categories) - rust-lang#81630 (Fix overflowing text on mobile when sidebar is displayed) - rust-lang#81631 (Remove unneeded `mut` variable) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Back in October 2020 in #77830 @cjgillot removed the query categories information from the profiler, but the actual definitions which query was in which category remained, although unused.
Here I clean that up, to simplify the query definitions even further.
It's unfortunate that this loses all the context for
git blame
,but I'm working on moving those query definitions intoEDIT: Might not work out.rustc_query_system
, which will lose that context anyway.The functional changes are in the first commit. The second one only changes the indentation.