initial commit: hsmc v0.2 with during: activities
Hierarchical statechart codegen for Rust with: - during: activities for state-scoped concurrent I/O - field-list borrowing (split-borrow inside the run loop) - embassy-first async with tokio support - STATE_CHART const for tooling/inspection - examples: microwave, microwave_tui, embassy_full, during_radio
This commit is contained in:
56 files changed
+11770
No files matched your search
@@ -0,0 +1,17 @@
|
||||
error: field `a` is borrowed by two concurrent durings on state `S` (`one` and `two`) — move one of them to a disjoint field or combine the activities into a single during that uses `select`
|
||||
--> tests/ui/t10_2_during_overlap_same_state.rs:21:21
|
||||
|
|
||||
21 | during: two(a);
|
||||
| ^
|
||||
|
||||
error[E0405]: cannot find trait `MActions` in this scope
|
||||
--> tests/ui/t10_2_during_overlap_same_state.rs:29:6
|
||||
|
|
||||
29 | impl MActions for MActionContext<'_> {}
|
||||
| ^^^^^^^^ not found in this scope
|
||||
|
||||
error[E0425]: cannot find type `MActionContext` in this scope
|
||||
--> tests/ui/t10_2_during_overlap_same_state.rs:29:19
|
||||
|
|
||||
29 | impl MActions for MActionContext<'_> {}
|
||||
| ^^^^^^^^^^^^^^ not found in this scope
|
||||
Reference in new issue
Block a user