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

Use !Sync std::lazy::OnceCell in usefulness checking #82155

Merged
merged 1 commit into from
Feb 18, 2021

Commits on Feb 15, 2021

  1. Use !Sync std::lazy::OnceCell in usefulness checking

    The `rustc_data_structures::sync::OnceCell` is thread-safe when building
    a parallel compiler. This is unnecessary for the purposes of pattern
    usefulness checking. Use `!Sync` `std::lazy::OnceCell` instead.
    tmiasko committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    64b5b75 View commit details
    Browse the repository at this point in the history