Update time crate to fix compilation error (#12189)

run `cargo update --package time` due to
https://github.com/time-rs/time/issues/681

Release Notes:

- N/A
This commit is contained in:
Jakob Hellermann 2024-05-27 01:44:15 +02:00 committed by GitHub
parent d8605c8614
commit 8e07fd2214
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 25 additions and 9 deletions

View file

@ -877,7 +877,7 @@ impl LinuxClient for X11Client {
.unwrap();
let _ = state.xcb_connection.flush().unwrap();
// Take into account that some frames have been skipped
let now = time::Instant::now();
let now = Instant::now();
while instant < now {
instant += refresh_duration;
}