Skip to content

cargo clippy with spirv target #347

@Firestar99

Description

@Firestar99

Currently, most projects run cargo clippy on the CPU target and hope that it covers most gpu-specific code as well. But that will ignore all #[gpu-only] functions and entry points, not checking them at all. We should investigate a way we can run clippy with spirv targets. This may be better suited for cargo gpu, since cargo gpu clippy would work quite nicely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions