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

std: Stabilize the thread_local_const_init feature #91355

Merged
merged 1 commit into from
Dec 5, 2021

Commits on Nov 29, 2021

  1. std: Stabilize the thread_local_const_init feature

    This commit is intended to follow the stabilization disposition of the
    FCP that has now finished in rust-lang#84223. This stabilizes the ability to flag
    thread local initializers as `const` expressions which enables the macro
    to generate more efficient code for accessing it, notably removing
    runtime checks for initialization.
    
    More information can also be found in rust-lang#84223 as well as the tests where
    the feature usage was removed in this PR.
    
    Closes rust-lang#84223
    alexcrichton committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    a0c9597 View commit details
    Browse the repository at this point in the history