-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different waker_vtable
addresses for same type
#2864
Comments
Same issue as #2829 (comment) / rust-lang/rust#121622 (comment)? |
yes, seems to be the same issue |
|
Quoting myself from
|
Resolved by #2865 |
Sometimes (more often than not, in my experience), when running in
--release
mode, vtable addresses don't match:Why this matters: this leads to
AtomicWaker
and alike to clone (or, worse, wake) on each poll because of howWaker::will_wake
comparesWaker
s. Example: sdroege/async-tungstenite#133Is this a compiler bug? If yes, can we do something to mitigate it?
The text was updated successfully, but these errors were encountered: