Skip to content

cargo fmt doesn't work on cached run #353

@BrynCooke

Description

@BrynCooke

When using rust the tools installed with the profile are not cached

[tools]
rust = {version = "1.91.1", profile = "default"}

1st run cargo fmt works as rust is installed from scratch

2nd run cargo fmt fails:

cargo fmt --all -- --check
error: 'cargo-fmt' is not installed for the toolchain '1.91.1-x86_64-unknown-linux-gnu'.

I guess that the caching feature is unaware of what got installed with rust.

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