We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9120c83 commit 1639d70Copy full SHA for 1639d70
src/native/global.rs
@@ -102,5 +102,5 @@ fn raw_drop(ptr: *const ()) {
102
103
fn current_thread_waker() -> Waker {
104
let thread = Arc::new(thread::current());
105
- unsafe { Waker::from_raw(raw_clone(Arc::into_raw(thread) as *const ())) }
+ unsafe { Waker::from_raw(RawWaker::new(Arc::into_raw(thread) as *const (), &VTABLE)) }
106
}
0 commit comments