Skip to main content

load_dep_graph

Function load_dep_graph 

Source
fn load_dep_graph(
    sess: &Session,
    incr_comp_session: &IncrCompSession,
) -> Result<(Arc<SerializedDepGraph>, WorkProductMap), ()>
Expand description

Load the old dep graph and work product index.

Returns Err(()) if a file was produced by an incompatible compiler version, didn’t exist or for some other reason couldn’t be used.