From 9a0d27a91e83cfd2847c9f389bb92695f384c66c Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Tue, 21 Sep 2021 17:00:16 +0200 Subject: [PATCH] Updated codegen for the updated syntax (default monotonic priority) --- macros/Cargo.toml | 2 +- macros/src/codegen/pre_init.rs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 56bfd5cdc2..de860b1c94 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -22,4 +22,4 @@ proc-macro2 = "1" proc-macro-error = "1" quote = "1" syn = "1" -rtic-syntax = "0.5.0-alpha.4" +rtic-syntax = "0.5.0-rc.1" diff --git a/macros/src/codegen/pre_init.rs b/macros/src/codegen/pre_init.rs index 69f16fe376..eb216d8657 100644 --- a/macros/src/codegen/pre_init.rs +++ b/macros/src/codegen/pre_init.rs @@ -83,7 +83,11 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> Vec