FIX: Rust update to 1.77.0
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user