Skip to main content

## replay_output_cache

# Function replay_output_cache

Source

    fn replay_output_cache(
        package_id: PackageId,
        manifest: ManifestErrorContext,
        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.