Skip to content

Indirect recursion with AutoDeps #818

@jacereda

Description

@jacereda

I'm adapting my build to use multiple outputs in rules and --share. The problem I'm facing is that the .lib files associated with .dlls seem to be marked properly detected as writes on the first invocation but are detected as reads on subsequent invocations (assuming no exported symbol was changed).

When this happens, I think the code in

-- If something both reads and writes to a file, it isn't eligible to be an autodeps
should really do something like If something both reads and writes to a file or the file is an output of the rule, the file in question isn't eligible to be an autodeps.

How could the is an output of the rule be determined?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions