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

rt: remove a conditional compilation clause #5104

Merged
merged 1 commit into from Oct 13, 2022

Commits on Oct 13, 2022

  1. rt: remove a conditional compilation clause

    The `LocalSet` implementation includes a conditional compilation clause
    that removes the `const` statement from the `thread_local` definition.
    However, there already is an internal macro that does this:
    `tokio_thread_local`.
    
    This patch removes the conditional compilation in favor of using the
    `tokio_thread_local` macro. This also fixes a conditional compilation
    issue with an internal utility (`RcCell`).
    carllerche committed Oct 13, 2022
    Copy the full SHA
    0d476b4 View commit details
    Browse the repository at this point in the history