From 3ba1632f8d8e4c5564de282ad359e33151956bb6 Mon Sep 17 00:00:00 2001 From: Johannes Cornelis Draaijer Date: Wed, 3 Sep 2025 13:53:50 +0200 Subject: 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. --- rtic-macros/src/syntax/parse/app.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rtic-macros/src/syntax/parse') 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, -- cgit v1.2.3