Ok, released the 0.1.2
version, with docs, tests, CI and MSRV of Rust 1.25.0. So, it’s time to kick the tiers!
1 Like
Turns out libstd already has something like lazy_static
internally: io::lazy::Lazy
. It is not safe to use though because it does not handle reentrancy.
EDIT: Actually all that really needs is a reentrant mutex with a const fn
initialization function. That’s not easy to do on POSIX though…
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.