Skip to main content

Module plumbing

Module plumbing 

Source
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Β§

QueryCtxt
Implements QueryContext for use by rustc_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=full to 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 πŸ”’