FIX: Rust update to 1.77.0

This commit is contained in:
Nicolás Hatcher
2024-03-21 22:51:19 +01:00
parent 5be13d1602
commit d6a1f9c28e

View File

@@ -10,7 +10,7 @@ use std::cell::RefCell;
// 8 November 2022 12:13 Berlin time // 8 November 2022 12:13 Berlin time
thread_local! { thread_local! {
static MOCK_TIME: RefCell<i64> = RefCell::new(1667906008578); static MOCK_TIME: RefCell<i64> = const { RefCell::new(1667906008578) };
} }
pub fn get_milliseconds_since_epoch() -> i64 { pub fn get_milliseconds_since_epoch() -> i64 {