microsoft/windows-drivers-rs

Remove all lazy_static instances

Opened this issue · 0 comments

          > Lazy is now stable if I'm not mistaken. Not something that needs to be fixed right this instant though.

Its available in stable as of 1.80.0 (released 5 days ago). Although not formally stated (or enforced) I've been trying to keep support for Stable and Stable-1.

There are also other places in the repo where lazy_static is used, that aren't supported by std::sync::Lazy. (ex. LazyLock is not available in no_std, so in those situations, we should migrate to once_cell w/ the racy feature)

Originally posted by @wmmc88 in #186 (comment)