Skip to content

Remove once_cell whenever possible #2875

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 1 commit into from
Jul 30, 2025

Conversation

GuillaumeGomez
Copy link
Member

The only thing remaining to completely get rid of it is for get_or_try_init feature to be stabilized. So for now, it remains used in cratesfyi and in the tests.

@GuillaumeGomez GuillaumeGomez requested a review from a team as a code owner July 29, 2025 09:17
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Jul 29, 2025
@syphar
Copy link
Member

syphar commented Jul 30, 2025

I'm thinking about rebuilding the context thingy anyways, the current impl blocks some other changes I want to make,

so perhaps we can drop the dependency even before that feature is stabilized

@syphar syphar merged commit 94264e7 into rust-lang:master Jul 30, 2025
11 checks passed
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Jul 30, 2025
@GuillaumeGomez GuillaumeGomez deleted the rm-once_cell branch July 30, 2025 09:05
@GuillaumeGomez
Copy link
Member Author

That'd be great. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants