diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-05-31 21:41:42 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-05-31 21:54:42 +0200 |
| commit | 999a2ad829d05b2a34797cf43d625d09bd796a58 (patch) | |
| tree | f6e5a6bb0f9990d79ac46a82981654947b2eec36 /embassy-boot-rp | |
| parent | ba940017ee8cabbb2a371243adc040b3460cd71c (diff) | |
Fix all check-cfg errors in the entire repo.
the main ci.sh now passes if running with nightly.
Diffstat (limited to 'embassy-boot-rp')
| -rw-r--r-- | embassy-boot-rp/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-boot-rp/build.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/embassy-boot-rp/Cargo.toml b/embassy-boot-rp/Cargo.toml index 0bd8abf4c..de2ae3780 100644 --- a/embassy-boot-rp/Cargo.toml +++ b/embassy-boot-rp/Cargo.toml | |||
| @@ -21,7 +21,6 @@ target = "thumbv6m-none-eabi" | |||
| 21 | 21 | ||
| 22 | [dependencies] | 22 | [dependencies] |
| 23 | defmt = { version = "0.3", optional = true } | 23 | defmt = { version = "0.3", optional = true } |
| 24 | defmt-rtt = { version = "0.4", optional = true } | ||
| 25 | log = { version = "0.4", optional = true } | 24 | log = { version = "0.4", optional = true } |
| 26 | 25 | ||
| 27 | embassy-sync = { version = "0.6.0", path = "../embassy-sync" } | 26 | embassy-sync = { version = "0.6.0", path = "../embassy-sync" } |
| @@ -46,7 +45,6 @@ log = [ | |||
| 46 | "embassy-boot/log", | 45 | "embassy-boot/log", |
| 47 | "embassy-rp/log", | 46 | "embassy-rp/log", |
| 48 | ] | 47 | ] |
| 49 | debug = ["defmt-rtt"] | ||
| 50 | 48 | ||
| 51 | [profile.dev] | 49 | [profile.dev] |
| 52 | debug = 2 | 50 | debug = 2 |
diff --git a/embassy-boot-rp/build.rs b/embassy-boot-rp/build.rs index 2cbc7ef5e..bfaee3503 100644 --- a/embassy-boot-rp/build.rs +++ b/embassy-boot-rp/build.rs | |||
| @@ -5,4 +5,5 @@ fn main() { | |||
| 5 | if target.starts_with("thumbv6m-") { | 5 | if target.starts_with("thumbv6m-") { |
| 6 | println!("cargo:rustc-cfg=armv6m"); | 6 | println!("cargo:rustc-cfg=armv6m"); |
| 7 | } | 7 | } |
| 8 | println!("cargo:rustc-check-cfg=cfg(armv6m)"); | ||
| 8 | } | 9 | } |
