Add a lint exception rule for unexpected_cfgs (#1539)

This commit is contained in:
Jesse Braham 2024-05-06 14:07:54 +00:00 committed by GitHub
parent 0c95668e7a
commit c22a64e37f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -219,3 +219,6 @@ ci = [
[lints.clippy]
mixed_attributes_style = "allow"
[lints.rust]
unexpected_cfgs = "allow"

View File

@ -66,6 +66,9 @@ required-features = ["embedded-hal-02", "esp32c6"]
name = "i2c"
required-features = ["embedded-hal-02", "esp32c6"]
[lints.rust]
unexpected_cfgs = "allow"
[patch.crates-io]
esp32s2-ulp = { git = "https://github.com/esp-rs/esp-pacs", rev = "bcab40a" }
esp32s3-ulp = { git = "https://github.com/esp-rs/esp-pacs", rev = "bcab40a" }