Skip to content

Conversation

futreall
Copy link
Contributor

Ensured the no_std OnceLock::get_or_init now boxes values internally so it no longer requires T: Into<Box>.
This brings the API in line with std::sync::OnceLock and restores compatibility for all consumer types.

Copy link

codspeed-hq bot commented Sep 29, 2025

CodSpeed Performance Report

Merging #3026 will not alter performance

Comparing futreall:fix/once-lock-no-std-init (0e92bd6) with main (43f5b89)

Summary

✅ 173 untouched

Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

@rakita rakita merged commit e220071 into bluealloy:main Sep 29, 2025
31 checks passed
@github-actions github-actions bot mentioned this pull request Sep 29, 2025
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.

2 participants