Skip to content

Cargo kani always rebuilds the entire project #895

Description

@celinval

I tried the code inside tests/cargo-kani/dependencies using the following command line invocation:

cargo kani --function check_dummy
cargo kani --function check_dummy

with Kani version:

I expected to see this happen: explanation

Compilation should only execute once. In the second case, only CBMC should execute.

Instead, this happened: Cargo compiles the project and its dependencies every time we execute cargo kani.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [C] Feature / EnhancementA new feature request or enhancement to an existing feature.[E] User ExperienceAn UX enhancement for an existing feature. Including deprecation of an existing one.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions