Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

cargo-check cannot be used with multi-target crate #61

Open
@W4RH4WK

Description

@W4RH4WK

cargo check cannot be used directly in a multi-target crate, one has to state which target to build (the library or a selected binary).

Fixing this could get a bit tedious since selecting a target binary will be project specific, not a general option for the linter. But targeting the library can be a global option. Therefore I propose to add another command to the drop-down menu dubbed check --lib, which invokes cargo check --lib.

This way people can at least build the library in a multi-target crate for now.

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