load_query_result_cache in rustc_incremental::persist::load - Rust
Description: Attempts to load the query result cache from disk

Skip to main content

## load_query_result_cache

# Function load_query_result_cache

Source

    pub fn load_query_result_cache(sess: &Session) -> Option<OnDiskCache>

Expand description

Attempts to load the query result cache from disk

If we are not in incremental compilation mode, returns `None`. Otherwise, tries to load the query result cache from disk, creating an empty cache if it could not be loaded.