bevy_platform 0.18.1

Provides common platform agnostic APIs, as well as platform-specific features for Bevy Engine
Documentation
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;
}