diff --git a/esp-hal-embassy/src/timer_queue.rs b/esp-hal-embassy/src/timer_queue.rs index 4429d0eba6..7f6071e3ef 100644 --- a/esp-hal-embassy/src/timer_queue.rs +++ b/esp-hal-embassy/src/timer_queue.rs @@ -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::();