From 03af9b19943e3b953ec8f557e5359d6b8627de5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sun, 7 Nov 2021 00:42:57 +0100 Subject: Match new rtic-syntax naming of shared and local --- macros/src/codegen/post_init.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macros') diff --git a/macros/src/codegen/post_init.rs b/macros/src/codegen/post_init.rs index 07fbd03..8bd3a7d 100644 --- a/macros/src/codegen/post_init.rs +++ b/macros/src/codegen/post_init.rs @@ -14,7 +14,7 @@ pub fn codegen(app: &App, analysis: &Analysis) -> Vec { let mangled_name = util::static_shared_resource_ident(name); // If it's live let cfgs = res.cfgs.clone(); - if analysis.shared_resource_locations.get(name).is_some() { + if analysis.shared_resources.get(name).is_some() { stmts.push(quote!( // We include the cfgs #(#cfgs)* @@ -31,7 +31,7 @@ pub fn codegen(app: &App, analysis: &Analysis) -> Vec { let mangled_name = util::static_local_resource_ident(name); // If it's live let cfgs = res.cfgs.clone(); - if analysis.local_resource_locations.get(name).is_some() { + if analysis.local_resources.get(name).is_some() { stmts.push(quote!( // We include the cfgs #(#cfgs)* -- cgit v1.2.3 From 0492d98916fb05f0ce0906b42bf7f2ee292f4b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Mon, 8 Nov 2021 20:42:04 +0100 Subject: Bump version to 0.6.0-rc.3 --- macros/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macros') diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 986e22b..de335bc 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0" name = "cortex-m-rtic-macros" readme = "../README.md" repository = "https://github.com/rtic-rs/cortex-m-rtic" -version = "0.6.0-rc.2" +version = "0.6.0-rc.3" [lib] proc-macro = true @@ -22,4 +22,4 @@ proc-macro2 = "1" proc-macro-error = "1" quote = "1" syn = "1" -rtic-syntax = "0.5.0-rc.1" +rtic-syntax = "0.5.0-rc.2" -- cgit v1.2.3