Expand description
The implementation of the query system itself. This defines the macros that generate the actual methods on tcx which find and execute the provider, manage the caches, and so forth.
MacrosΒ§
- call_
provider π - cycle_
error_ πhandling - define_
queries π - depth_
limit π - expand_
if_ πcached - feedable π
- hash_
result π - is_anon π
- is_
eval_ πalways - item_
if_ πcached - should_
ever_ πcache_ on_ disk
StructsΒ§
- Query
Ctxt - Implements
QueryContextfor use byrustc_query_system, since that crate does not have direct access to [TyCtxt].
FunctionsΒ§
- __
rust_ πbegin_ short_ backtrace - Donβt show the backtrace for query system by default
use
RUST_BACKTRACE=fullto show all the backtraces - create_
query_ πframe - encode_
all_ πquery_ results - encode_
query_ πresults - force_
from_ πdep_ node - loadable_
from_ πdisk - make_
dep_ πkind_ vtable_ for_ query - mk_
query_ πstack_ frame_ extra - query_
key_ πhash_ verify - query_
key_ hash_ verify_ all - try_
load_ πfrom_ disk - try_
load_ πfrom_ on_ disk_ cache - try_
mark_ πgreen