Skip to main content

copy_cgu_workproduct_to_incr_comp_cache_dir

Function copy_cgu_workproduct_to_incr_comp_cache_dir 

Source
pub fn copy_cgu_workproduct_to_incr_comp_cache_dir(
    sess: &Session,
    cgu_name: &str,
    files: &[(&'static str, &Path)],
    known_links: &[PathBuf],
) -> (WorkProductId, WorkProduct)
Expand description

Copies a CGU work product to the incremental compilation directory, so next compilation can find and reuse it.

Panics when incr comp is disabled.