diff options
| author | Dániel Buga <[email protected]> | 2024-12-13 21:45:52 +0100 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2024-12-15 18:50:00 +0100 |
| commit | 5c4983236c2e68b6ba2ce325ed77ec39466fc3b6 (patch) | |
| tree | 9e3e2bc1f374d494fb6f83ad523654ae2a52b2b9 /embassy-executor/tests | |
| parent | 2f2e2c6031a1abaecdac5ed2febe109e647fe6fd (diff) | |
Make sure an exited task does not get stuck in a timer queue
Diffstat (limited to 'embassy-executor/tests')
| -rw-r--r-- | embassy-executor/tests/test.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-executor/tests/test.rs b/embassy-executor/tests/test.rs index 0ce1f1891..992ab3da9 100644 --- a/embassy-executor/tests/test.rs +++ b/embassy-executor/tests/test.rs | |||
| @@ -150,3 +150,7 @@ fn executor_task_cfg_args() { | |||
| 150 | let (_, _, _) = (a, b, c); | 150 | let (_, _, _) = (a, b, c); |
| 151 | } | 151 | } |
| 152 | } | 152 | } |
| 153 | |||
| 154 | // We need this for the test to compile, even though we don't want to use timers at the moment. | ||
| 155 | #[no_mangle] | ||
| 156 | fn _embassy_time_schedule_wake(_at: u64, _waker: &core::task::Waker) {} | ||
