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

feat: replace once_cell with std #11694

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

0xurb
Copy link
Contributor

@0xurb 0xurb commented Oct 12, 2024

Replace
once_cell::sync::Lazy with std::sync::LazyLock
once_cell::sync::OnceCell -> std::sync::OnceLock
Since we are on msrv > 1.80

Note: on std feature enabled - it will be standard library sync types. If it is no_std code - part of once_cell crate will be used (I disable std via default-features = false and by adding critical-section feature)

Note: It doesn't affect usage of once_cell_set on Odyssey, but need to be checked after possible merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant