23 Commits

Author SHA1 Message Date
diondokter
916dce55ea Fix test & rtos-trace 2025-08-29 13:30:11 +02:00
Dario Nieuwenhuis
8aec341f28 executor: return error when creating the spawntoken, not when spawning. 2025-08-29 13:23:21 +02:00
Dario Nieuwenhuis
da9cdf0c53 executor: add "task metadata" concept, make name a task metadata. 2025-08-29 13:22:59 +02:00
Brezak
54d9a7fed3
embassy-executor: add macro ui test for unsafe ops in unsafe tasks
Check if the #[task] macro properly handles unsafe functions so the `unsafe_op_in_unsafe_fn` lint still works
2025-07-23 21:19:30 +02:00
Brezak
539ff78ebb
embassy-executor: explicitly return impl Future in task inner task 2025-07-23 20:55:42 +02:00
Brezak
1b42e62424
embassy-executor: explicitly return impl Future in task inner task 2025-07-23 19:33:51 +02:00
Brezak
a52965dc5d
embassy-executor: unsafe tasks as unsafe 2025-07-23 19:19:02 +02:00
Dario Nieuwenhuis
2fe2a0cf9c excutor: fix Send unsoundness with -> impl Future tasks. 2025-07-08 20:27:35 +02:00
Dario Nieuwenhuis
72248a601a Update Rust nightly, stable. 2025-07-04 00:23:22 +02:00
Matthew Tran
3cef4f0c04 Update tests 2025-06-01 12:36:46 -05:00
Matthew Tran
0d83fbbb57 Add diagnostic::on_unimplemented for nightly 2025-06-01 10:32:24 -05:00
Matthew Tran
dbff432e19 Add test for -> impl Future<Output = !> 2025-05-29 05:18:16 -05:00
Matthew Tran
a4d4f62a1e Allow -> impl Future<Output = ()> in #[task] 2025-05-28 23:37:17 -05:00
Matthew Tran
c72e2c5d10 Add test 2025-03-29 02:46:32 -05:00
Dániel Buga
c6ca46c825
Set RUN_QUEUED unconditionally 2024-12-17 16:52:13 +01:00
Dániel Buga
c3c571e01e
Remove test implementation of schedule_wake 2024-12-16 20:37:02 +01:00
Dániel Buga
5c4983236c
Make sure an exited task does not get stuck in a timer queue 2024-12-15 18:50:00 +01:00
Dániel Buga
5a5495aac4
Refactor integrated-timers 2024-12-10 21:31:42 +01:00
Dániel Buga
8ebe059ecb
Add initialize 2024-11-19 16:25:17 +01:00
Dario Nieuwenhuis
8f98268723 executor: add compile-fail / ui tests. 2024-10-20 23:54:17 +02:00
Grant Miller
5a6384333f Fix feature flag in executor tests 2024-02-14 16:14:41 -06:00
Scott Mabin
2efde24f33 Add test case 2023-12-31 16:55:46 +00:00
Dario Nieuwenhuis
1fbc150fd6 executor: add some tests. 2023-11-24 23:52:09 +01:00