Open
Description
As part of google/zerocopy#1204, I discovered that the unexpected_cfgs
lint fires on some standard cfg
s that are common in the ecosystem. The two I discovered so far are:
doc_cfg
kani
(used by the Kani verifier)
I've had to manually emit directives for these. It's not that onerous, but I could imagine it getting onerous especially for projects that don't already have a build.rs
script.
It would be good if the lint could be taught about some of the standard cfg
s in the ecosystem to cut down on the noise.