From 025460b45fd40318e106f523421758df81a9ad08 Mon Sep 17 00:00:00 2001 From: Albin Hedman Date: Sun, 19 Oct 2025 19:14:25 +0200 Subject: [PATCH] Update tests for - Rename `is_local_task` to just `local_task` and allow omitting the value --- rtic-macros/ui/spawn-local-different-exec.rs | 2 +- rtic-macros/ui/spawn-local-from-init.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtic-macros/ui/spawn-local-different-exec.rs b/rtic-macros/ui/spawn-local-different-exec.rs index e088061a86c..12168152d80 100644 --- a/rtic-macros/ui/spawn-local-different-exec.rs +++ b/rtic-macros/ui/spawn-local-different-exec.rs @@ -15,7 +15,7 @@ mod app { (Shared {}, Local {}) } - #[task(priority = 1, is_local_task = true)] + #[task(priority = 1, local_task)] async fn foo(_cx: foo::Context) {} #[task(priority = 2)] diff --git a/rtic-macros/ui/spawn-local-from-init.rs b/rtic-macros/ui/spawn-local-from-init.rs index 0029a8572b3..3d789d44a1a 100644 --- a/rtic-macros/ui/spawn-local-from-init.rs +++ b/rtic-macros/ui/spawn-local-from-init.rs @@ -16,6 +16,6 @@ mod app { (Shared {}, Local {}) } - #[task(priority = 1, is_local_task = true)] + #[task(priority = 1, local_task)] async fn foo(_cx: foo::Context) {} }