Rewrite ci/style.rs
using syn
#4109
Labels
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-medium
E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
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 withincfg_if
. It could become part of thelibc-test
crate, socargo run libc-test
checks style.The text was updated successfully, but these errors were encountered: