Add note
This commit is contained in:
parent
0a12fc4d26
commit
8b6b1b9559
@ -73,6 +73,8 @@ impl embassy_time_queue_driver::TimerQueue for crate::time_driver::TimerQueueDri
|
||||
|
||||
#[cfg(not(single_queue))]
|
||||
unsafe {
|
||||
// FIXME: this is UB, use Exposed Provenance API (or something better) when
|
||||
// available. Expose provenance in `InnerExecutor::init`, and use it here.
|
||||
let executor = &*(waker.executor().unwrap_unchecked()
|
||||
as *const embassy_executor::raw::Executor)
|
||||
.cast::<crate::executor::InnerExecutor>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user