garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /crates/wgpu/src/util/panicking.rs

raw

#[cfg(feature = "std")]
pub fn is_panicking() -> bool {
    std::thread::panicking()
}

#[cfg(not(feature = "std"))]
pub fn is_panicking() -> bool {
    false
}