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.
2 parents 9120c83 + 1639d70 commit 954363aCopy full SHA for 954363a
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