rust/compiler/rustc_query_impl/src
Nilstrieb 167b3bd3b2
Get rid of rustc_query_description!
Queries can provide an arbitrary expression for their description and
their caching behavior. Before, these expressions where stored in a
`rustc_query_description` macro emitted by the `rustc_queries` macro,
and then used in `rustc_query_impl` to fill out the methods for the
`QueryDescription` trait.

Instead, we now emit two new modules from `rustc_queries` containing the
functions with the expressions. `rustc_query_impl` calls these functions
now instead of invoking the macro.

Since we are now defining some of the functions in
`rustc_middle::query`, we now need all the imports for the key types
there as well.
2022-10-14 22:35:56 +02:00
..
keys.rs Rewrite representability 2022-10-07 09:33:46 -05:00
lib.rs Get rid of rustc_query_description! 2022-10-14 22:35:56 +02:00
on_disk_cache.rs Remove -Ztime option. 2022-10-06 15:49:44 +11:00
plumbing.rs Get rid of rustc_query_description! 2022-10-14 22:35:56 +02:00
profiling_support.rs Use function pointers instead of macro-unrolled loops in rustc_query_impl 2022-09-25 11:27:12 -05:00
README.md Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00

For more information about how the query system works, see the rustc dev guide.