miri::shims::time

Function system_time_to_duration

Source
pub fn system_time_to_duration<'tcx>(
    time: &SystemTime,
) -> InterpResult<'tcx, Duration>
Expand description

Returns the time elapsed between the provided time and the unix epoch as a Duration.