Fix all check-cfg errors in the entire repo.

the main ci.sh now passes if running with nightly.
This commit is contained in:
Dario Nieuwenhuis
2024-05-31 21:41:42 +02:00
parent ba940017ee
commit 999a2ad829
38 changed files with 44 additions and 29 deletions

View File

@@ -29,7 +29,6 @@ critical-section = { version = "1.1.2", features = ["std"] }
futures-test = "0.3.28"
[features]
default = [ ]
defmt = [ "dep:defmt", "embedded-hal-1/defmt-03" ]
log = ["dep:log"]

View File

@@ -1,6 +1,6 @@
#![cfg_attr(not(test), no_std)]
#![deny(clippy::pedantic)]
#![allow(async_fn_in_trait)]
#![cfg_attr(not(any(test, feature = "std")), no_std)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::missing_errors_doc)]
#![allow(clippy::missing_panics_doc)]