summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--cros_async/src/waker.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cros_async/src/waker.rs b/cros_async/src/waker.rs
index f0dac0f..6d277ee 100644
--- a/cros_async/src/waker.rs
+++ b/cros_async/src/waker.rs
@@ -16,7 +16,9 @@ unsafe fn waker_drop(data_ptr: *const ()) {
     let _rc_bool = Rc::<AtomicBool>::from_raw(data_ptr as *const _);
 }
 
-unsafe fn waker_wake(_: *const ()) {}
+unsafe fn waker_wake(data_ptr: *const ()) {
+    waker_wake_by_ref(data_ptr)
+}
 
 // Called when the bool should be set to true to wake the waker.
 unsafe fn waker_wake_by_ref(data_ptr: *const ()) {