Skip to main content

Crate rustc_query_impl

Crate rustc_query_impl 

Source
Expand description

Support for serializing the dep-graph and reloading it.

Modulesยง

dep_kind_vtables ๐Ÿ”’
error ๐Ÿ”’
execution ๐Ÿ”’
handle_cycle_error ๐Ÿ”’
job ๐Ÿ”’
plumbing ๐Ÿ”’
profiling_support ๐Ÿ”’
query_impl ๐Ÿ”’

Structsยง

QueryJobMap
Map from query job IDs to job information collected by collect_active_query_jobs.

Enumsยง

CollectActiveJobsKind

Traitsยง

GetQueryVTable ๐Ÿ”’
Trait that knows how to look up the QueryVTable for a particular query.

Functionsยง

break_query_cycles
Detects query cycles by using depth first search over all active query jobs. If a query cycle is found it will break the cycle by finding an edge which uses a query latch and then resuming that waiter. There may be multiple cycles involved in a deadlock, so this searches all active queries for cycles before finally resuming all the waiters at once.
collect_active_query_jobs
Returns a map of currently active query jobs, collected from all queries.
make_dep_kind_vtables
print_query_stack
provide
query_system