Fix all check-cfg errors in the entire repo.
the main ci.sh now passes if running with nightly.
This commit is contained in:
@@ -22,7 +22,6 @@ target = "thumbv7em-none-eabi"
|
||||
|
||||
[dependencies]
|
||||
defmt = { version = "0.3", optional = true }
|
||||
defmt-rtt = { version = "0.4", optional = true }
|
||||
log = { version = "0.4", optional = true }
|
||||
|
||||
embassy-sync = { version = "0.6.0", path = "../embassy-sync" }
|
||||
@@ -37,7 +36,6 @@ cfg-if = "1.0.0"
|
||||
[features]
|
||||
defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-stm32/defmt"]
|
||||
log = ["dep:log", "embassy-boot/log", "embassy-stm32/log"]
|
||||
debug = ["defmt-rtt"]
|
||||
|
||||
[profile.dev]
|
||||
debug = 2
|
||||
|
||||
@@ -5,4 +5,5 @@ fn main() {
|
||||
if target.starts_with("thumbv6m-") {
|
||||
println!("cargo:rustc-cfg=armv6m");
|
||||
}
|
||||
println!("cargo:rustc-check-cfg=cfg(armv6m)");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user