Skip to content

Commit

Permalink
Update time crate to fix compilation error (#12189)
Browse files Browse the repository at this point in the history
run `cargo update --package time` due to
time-rs/time#681

Release Notes:

- N/A
  • Loading branch information
jakobhellermann authored May 26, 2024
1 parent d8605c8 commit 8e07fd2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
32 changes: 24 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/gpui/src/platform/linux/x11/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8e07fd2

Please sign in to comment.