bevy_platform/time/
mod.rs1pub use time::Instant;
4
5cfg_if::cfg_if! {
6 if #[cfg(all(target_arch = "wasm32", feature = "web"))] {
7 use web_time as time;
8 } else if #[cfg(feature = "std")] {
9 use std::time;
10 } else {
11 mod fallback;
12
13 use fallback as time;
14 }
15}