diff options
| author | Wilfried Chauveau <[email protected]> | 2021-11-21 08:33:18 +0000 |
|---|---|---|
| committer | Wilfried Chauveau <[email protected]> | 2021-11-21 08:33:18 +0000 |
| commit | e6abd9f5df1a451270df2316e4dee0bcc5c010b2 (patch) | |
| tree | 87f4795ec98de62fd5ce110468c903d6056cbfb6 /embassy-macros | |
| parent | 8d108d875394a08d6cb42d06a9c55a4c8e0833ac (diff) | |
Fix warning for field never used.
Diffstat (limited to 'embassy-macros')
| -rw-r--r-- | embassy-macros/src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/embassy-macros/src/lib.rs b/embassy-macros/src/lib.rs index da08a59c3..8d8accfcc 100644 --- a/embassy-macros/src/lib.rs +++ b/embassy-macros/src/lib.rs | |||
| @@ -272,6 +272,13 @@ mod chip; | |||
| 272 | #[path = "chip/rp.rs"] | 272 | #[path = "chip/rp.rs"] |
| 273 | mod chip; | 273 | mod chip; |
| 274 | 274 | ||
| 275 | #[cfg(any( | ||
| 276 | feature = "nrf", | ||
| 277 | feature = "rp", | ||
| 278 | feature = "stm32", | ||
| 279 | feature = "wasm", | ||
| 280 | feature = "std" | ||
| 281 | ))] | ||
| 275 | #[derive(Debug, FromMeta)] | 282 | #[derive(Debug, FromMeta)] |
| 276 | struct MainArgs { | 283 | struct MainArgs { |
| 277 | #[darling(default)] | 284 | #[darling(default)] |
