-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: unexpected cfg
condition name: fuzzing
#372
Comments
This is when running clippy or is this reproducible with I would report this issue against cargo (if the issue is reproducible with |
I assume this is related to this recent change: https://blog.rust-lang.org/2024/05/06/check-cfg.html |
@kpcyrd Yes, it is. Sorry, I should have said so in the report. |
With the release of rust-lang/cargo#13913 (in nightly-2024-05-19), Cargo has gain the ability to declare
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } I recommand directly suggesting it in the README.md, although the lint diagnostic should already suggest that. Footnotes
|
|
cargo 1.80.0-nightly (05364cb2f 2024-05-03) now throws the following clippy error:
The text was updated successfully, but these errors were encountered: