Skip to content

cargo recompiles even without any modifications #1388

Closed
@theemathas

Description

@theemathas

Simple reproduction steps:

cargo new asdf
cd asdf
cargo build
cargo build

The original behavior of cargo is that the second cargo build does nothing. However, it currently recompiles the crate (which is probably wrong).

For crates with dependencies, cargo apparently recompiles only local dependencies, and not dependencies on crates.io or anything else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions