Skip to content

compiler: use OnceCell from std #76216

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

Merged
merged 5 commits into from
Sep 2, 2020

Conversation

marmeladema
Copy link
Contributor

Fixes #76192

The only remaining direct use of lazy_static crate is in src/bootstrap but I am not sure how I can remove that dependency for now.

r? @matklad

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 1, 2020
@marmeladema marmeladema force-pushed the use-once-cell-from-std branch from fdd80e1 to 99c96c5 Compare September 1, 2020 21:07
@matklad
Copy link
Member

matklad commented Sep 1, 2020

@bors r+

Thanks!

@bors
Copy link
Collaborator

bors commented Sep 1, 2020

📌 Commit 99c96c5 has been approved by matklad

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 1, 2020
@bors
Copy link
Collaborator

bors commented Sep 2, 2020

⌛ Testing commit 99c96c5 with merge da897df...

@bors
Copy link
Collaborator

bors commented Sep 2, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: matklad
Pushing da897df to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 2, 2020
@bors bors merged commit da897df into rust-lang:master Sep 2, 2020
@marmeladema marmeladema deleted the use-once-cell-from-std branch September 2, 2020 08:40
@cuviper cuviper added this to the 1.48.0 milestone Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace lazy_static and once_cell crate in rustc crates with std::sync::lazy
5 participants