Crate rustc_query_impl

Source
Expand description

Support for serializing the dep-graph and reloading it.

Modulesยง

plumbing ๐Ÿ”’
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.
profiling_support ๐Ÿ”’
query_callbacks ๐Ÿ”’
query_impl ๐Ÿ”’

Structsยง

DynamicConfig ๐Ÿ”’
QueryCtxt

Constantsยง

ALLOC_SELF_PROFILE_QUERY_STRINGS ๐Ÿ”’
ENCODE_QUERY_RESULTS ๐Ÿ”’
QUERY_KEY_HASH_VERIFY ๐Ÿ”’
TRY_COLLECT_ACTIVE_JOBS ๐Ÿ”’

Traitsยง

QueryConfigRestored ๐Ÿ”’
This is implemented per query. It allows restoring query values from their erased state and constructing a QueryConfig.

Functionsยง

alloc_self_profile_query_strings
All self-profiling events generated by the query engine use virtual StringIds for their event_id. This method makes all those virtual StringIds point to actual strings.
dep_kind_names
dynamic_queries
engine ๐Ÿ”’
provide
query_callbacks
query_key_hash_verify_all
query_system