Dario Nieuwenhuis
fc25fca00b
Remove WakerHack for good.
...
Now that 1.83 xtensa is out, we can remove it unconditionally.
2024-12-17 13:06:31 +01:00
Dario Nieuwenhuis
853c5c567a
executor: compare vtable addr instead of contents.
...
Saves a whopping 44 bytes of text, yay.
2024-11-12 16:30:46 +01:00
Dario Nieuwenhuis
baeb59b5b8
executor: use WakerHack unconditionally even if nightly feature is enabled. ( #3528 )
...
This ensures the executor compiles with all recent nightly versions,
including the stable-but-with-nightly-features-enabled xtensa rustc.
2024-11-12 16:28:26 +01:00
Dániel Buga
1e850ae791
Detect and allow older nightlies
2024-11-06 10:48:59 +01:00
Oleksandr Babak
01d8508b6c
fix: nightly api changed during the night
2024-09-06 11:16:44 +02:00
zjp
dd6a873447
minimize cfg code in task_from_waker
2024-06-13 07:59:28 +08:00
zjp
b780df5f76
put cfg code inside task_from_waker function
2024-06-13 07:33:40 +08:00
zjp
6b9470be2c
fix warning on unused import
2024-06-09 11:50:32 +08:00
zjp
3f45ec6ead
use nightly waker_getters APIs
...
Since https://github.com/rust-lang/rust/issues/96992 has stalled,
to prevent potential unsoundness caused by transmuting to &WakerHack,
we can use nightly waker_getters APIs by gating it behind nightly
feature in embassy-executor without waiting for it to be stablized.
2024-06-09 11:39:47 +08:00
Aleksandr Krotov
6b19c0abd1
Fix #2100 - function address comparison
2023-10-25 11:01:35 +03:00
Grant Miller
48e1aab762
executor: Replace NonNull<TaskHeader> with TaskRef
2023-01-29 15:52:13 -06:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00