Skip to content
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

Replace usage of ResumeTy in async lowering with Context #105250

Merged
merged 1 commit into from
Dec 6, 2022

Commits on Dec 6, 2022

  1. Replace usage of ResumeTy in async lowering with Context

    Replaces using `ResumeTy` / `get_context` in favor of using `&'static mut Context<'_>`.
    
    Usage of the `'static` lifetime here is technically "cheating", and replaces
    the raw pointer in `ResumeTy` and the `get_context` fn that pulls the
    correct lifetimes out of thin air.
    Swatinem committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    cf031a3 View commit details
    Browse the repository at this point in the history