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

Coroutine variant fields can be uninitialized #118871

Merged
merged 1 commit into from
Dec 13, 2023

Commits on Dec 12, 2023

  1. Coroutine variant fields can be uninitialized

    Wrap coroutine variant fields in MaybeUninit to indicate that they
    might be uninitialized. Otherwise an uninhabited field will make
    the entire variant uninhabited and introduce undefined behaviour.
    
    The analogous issue in the prefix of coroutine layout was addressed by
    6fae7f8.
    tmiasko committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    a48cebc View commit details
    Browse the repository at this point in the history