Skip to content
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

style: deny(unexpected_cfgs) #2492

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

SteveLauC
Copy link
Member

What does this PR do

The default level for this lint is warn, let's deny it. Though I am not sure if this is only available since Rust 1.80, let's verify this in our CI.

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@SteveLauC SteveLauC added this pull request to the merge queue Sep 9, 2024
Merged via the queue into nix-rust:master with commit 8230103 Sep 9, 2024
38 checks passed
@SteveLauC SteveLauC deleted the style/deny_unexpected_cfgs branch September 9, 2024 03:50
@SteveLauC
Copy link
Member Author

Though I am not sure if this is only available since Rust 1.80, let's verify this in our CI.

Ok, I get it now, we should get a Clippy warning of unknown lint, but this is allowed in our CI:

cargo clippy --target aarch64-apple-darwin --all-targets --all-features -- -D warnings -A unknown-lints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant