aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/tests/test.rs
diff options
context:
space:
mode:
authorDániel Buga <[email protected]>2024-12-13 21:45:52 +0100
committerDániel Buga <[email protected]>2024-12-15 18:50:00 +0100
commit5c4983236c2e68b6ba2ce325ed77ec39466fc3b6 (patch)
tree9e3e2bc1f374d494fb6f83ad523654ae2a52b2b9 /embassy-executor/tests/test.rs
parent2f2e2c6031a1abaecdac5ed2febe109e647fe6fd (diff)
Make sure an exited task does not get stuck in a timer queue
Diffstat (limited to 'embassy-executor/tests/test.rs')
-rw-r--r--embassy-executor/tests/test.rs4
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]
156fn _embassy_time_schedule_wake(_at: u64, _waker: &core::task::Waker) {}