Skip to content

make clippy fails with latest changes #521

@tylerfanelli

Description

@tylerfanelli

It seems that cargo clippy on the kernel module fails now due to the packit dependency. Curious, as there is an
--exclude packit line in make clippy, but I assume this does not apply to clippy applied to the kernel module.

$ make clippy
cargo clippy --workspace --all-features --exclude packit --exclude svsm-fuzz --exclude igvmbuilder --exclude igvmmeasure -- -D warnings
error: failed to load manifest for workspace member `svsm/svsm/kernel`
referenced by workspace at `svsm/svsm/Cargo.toml`

Caused by:
  failed to load manifest for dependency `packit`

Caused by:
  failed to read `svsm/svsm/packit/Cargo.toml`

Caused by:
  No such file or directory (os error 2)
make: *** [Makefile:178: clippy] Error 101

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