-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
await macro is not in libcore. #56767
Comments
It uses thread local storage, which isnt available outside libstd. |
@bjorn3 Hm. So it does. Looks like @Nemo157 's embrio fills the spot. https://github.com/Nemo157/embrio-rs/blob/master/embrio-async/dehygiene/src/lib.rs |
It's intended to be moved to I thought this was already noted on the tracking issue (#50547), but looking at it again it doesn't appear so, adding this issue to the unresolved questions would probably be useful. |
Thanks @Nemo157 |
Marking as not blocking for stabilization. Obviously we want things to work from core eventually, but it's ok if that doesn't work to start. Moreover, the major blocker here is resolving how generator arguments should work -- once that works, it seems clear that we'll be able to solve this. |
Closing this in favor of #56974 |
The
await!()
macro is defined instd
but not incore
, is there any reason for this?The text was updated successfully, but these errors were encountered: