-
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
Move local_data_priv somewhere else #8113
Comments
Would it make sense to move this to |
A question I'd have is if there's a reason it shouldn't just be in |
I think my preference would be to put it in local_data directly and make the |
@brson, do you have an idea for how much longer the old scheduler is going to stick around? This looks like it'll be easier to move once this code path doesn't have to explicitly ask for a lookup in the old scheduler (as opposed to the new). |
This moves all local_data stuff into the `local_data` module and only that module alone. It also removes a fair amount of "super-unsafe" code in favor of just vanilla code generated by the compiler at the same time. Closes #8113
…logiq Better detect when a field can be moved from in `while_let_on_iterator` fixes rust-lang#8113 changelog: Better detect when a field can be moved from in `while_let_on_iterator`
At some point we moved the public interface to local data to std::local_data (which I think was the right decision), but the private portion lives in task::local_data_priv. This is a peculiar factoring of this subsystem.
The text was updated successfully, but these errors were encountered: