Skip to content

Make incremental compilation smarter about copying when reusing data #34955

Closed
@nikomatsakis

Description

@nikomatsakis

In the PR I'm about to open :), the code will copy object files into the incremental compilation directory upon completion, and then copy them out if they can be re-used. But it does more copying than needed in the case of reuse, since it will then copy them back in to the incr. comp. directory at the very end, even though the files are precisely the same.

(In all these cases, when I say copy, I really mean "hard link if possible".)

This is a FIXME-sort of issue. Putting it up for mentorship since fixing it seems fairly straightfoward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationE-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions