From ff3b1ad5273d16714f7d786d48b3bd06d433a9e6 Mon Sep 17 00:00:00 2001 From: Oleksandr Babak Date: Sat, 22 Mar 2025 11:57:13 +0100 Subject: feat: allow diverding software tasks with `'static` context (they never return) --- rtic-macros/src/syntax/ast.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rtic-macros/src/syntax/ast.rs') diff --git a/rtic-macros/src/syntax/ast.rs b/rtic-macros/src/syntax/ast.rs index bc892e3..ad73a89 100644 --- a/rtic-macros/src/syntax/ast.rs +++ b/rtic-macros/src/syntax/ast.rs @@ -236,6 +236,9 @@ pub struct SoftwareTask { /// The task is declared externally pub is_extern: bool, + + /// The task will never return `Poll::Ready` + pub is_bottom: bool, } /// Software task metadata -- cgit v1.2.3