rustc_incremental

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.