1 2 3 4 5 6 7 8 9 10 11
//! Provides `LazyLock` pub use implementation::LazyLock; #[cfg(feature = "std")] use std::sync as implementation; #[cfg(not(feature = "std"))] mod implementation { pub use spin::Lazy as LazyLock; }