Skip to content

CI Test for unknown cfg assertions #2184

Closed
@TheBlueMatt

Description

@TheBlueMatt

Rust doesnt check that the cfg assertions we use are actually correct, and it would be fairly easy for a typo to slip in. We should have some kind of CI test which greps the code for all cfg checks, then compares the conditions against the known set of conditions (debug_assertions, anchors, test, etc) plus combinators (any, all, not, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions