diff options
| author | Johannes Cornelis Draaijer <johannes.draaijer@kiteshield.com> | 2025-09-03 13:53:50 +0200 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2025-09-17 19:40:38 +0200 |
| commit | 3ba1632f8d8e4c5564de282ad359e33151956bb6 (patch) | |
| tree | 6866e77ac14cfd12b124fa564c0faa9c180d1c29 /rtic-macros/src/syntax/parse/app.rs | |
| parent | fa2c8c1dcdd74bd7e4268845a671e2ed146d0c1b (diff) | |
rtic-macros: forward attributes applied to app module
Instead of ignoring additional attributes applied to the app
module, we can forward them to the generated code.
Diffstat (limited to 'rtic-macros/src/syntax/parse/app.rs')
| -rw-r--r-- | rtic-macros/src/syntax/parse/app.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rtic-macros/src/syntax/parse/app.rs b/rtic-macros/src/syntax/parse/app.rs index 469bcb8..50ef12b 100644 --- a/rtic-macros/src/syntax/parse/app.rs +++ b/rtic-macros/src/syntax/parse/app.rs @@ -531,6 +531,7 @@ impl App { } Ok(App { + attribute_metas: input.attribute_metas, args, name: input.ident, init, |
