gpui-fast 0.1.20

gpui: GPUI with gpui-fast rendering and layout optimizations
Documentation
1
2
3
4
5
6
7
8
9
// Modified by Longbridge for gpui-fast.
//! The platform clock's wall-clock time, a `SystemTime` instead of chrono's
//! `DateTime<Utc>`; see the scheduler's `fast::clock`. Upstream makes the same
//! change in zed-industries/zed#67089.

/// `PlatformClock::utc_now`.
pub(crate) fn utc_now() -> scheduler::SystemTime {
    scheduler::SystemTime::now()
}