Function cargo::core::compiler::replay_output_cache

source ·
fn replay_output_cache(
    package_id: PackageId,
    manifest_path: PathBuf,
    target: &Target,
    path: PathBuf,
    format: MessageFormat,
    show_diagnostics: bool
) -> Work
Expand description

Creates a unit of work that replays the cached compiler message.

Usually used when a job is fresh and doesn’t need to recompile.