diff options
| author | Oleksandr Babak <alexanderbabak@proton.me> | 2025-03-22 11:57:13 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2025-03-27 14:47:11 +0000 |
| commit | ff3b1ad5273d16714f7d786d48b3bd06d433a9e6 (patch) | |
| tree | 32ddff0caaf05ae35773dc8359ae28cc2fbea332 /rtic-macros/src/syntax/ast.rs | |
| parent | 267ed9dafd820eca276f027d1763bc53f588cf50 (diff) | |
feat: allow diverding software tasks with `'static` context (they never return)
Diffstat (limited to 'rtic-macros/src/syntax/ast.rs')
| -rw-r--r-- | rtic-macros/src/syntax/ast.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
