Skip to content

Rewrite ci/style.rs using syn #4109

Open
@tgross35

Description

The style checking script has been about the same since it was introduced in 2015, but its text-based parsing seems to make it get in the way a lot of the time.

Ideally it would be rewritten using syn, which should be more accurate and not have problems e.g. handling newlines or recognizing when we are within cfg_if. It could become part of the libc-test crate, so cargo run libc-test checks style.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    E-help-wantedCall for participation: Help is requested to fix this issue.E-mediumE-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions