Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_platform/src/sync/lazy_lock.rs
6849 views
1
//! Provides `LazyLock`
2
3
pub use implementation::LazyLock;
4
5
#[cfg(feature = "std")]
6
use std::sync as implementation;
7
8
#[cfg(not(feature = "std"))]
9
mod implementation {
10
pub use spin::Lazy as LazyLock;
11
}
12
13