Skip to content

Commit

Permalink
Merge pull request #2112 from AzazKamaz/patch-1
Browse files Browse the repository at this point in the history
Fix #2100 - function address comparison
  • Loading branch information
Dirbaio authored Oct 25, 2023
2 parents f956d19 + 6b19c0a commit 0cc3e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embassy-executor/src/raw/waker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use core::task::{RawWaker, RawWakerVTable, Waker};

use super::{wake_task, TaskHeader, TaskRef};

const VTABLE: RawWakerVTable = RawWakerVTable::new(clone, wake, wake, drop);
static VTABLE: RawWakerVTable = RawWakerVTable::new(clone, wake, wake, drop);

unsafe fn clone(p: *const ()) -> RawWaker {
RawWaker::new(p, &VTABLE)
Expand Down

0 comments on commit 0cc3e18

Please sign in to comment.