Merge "Update needed for Rust v1.77.1" into main
diff --git a/keystore2/src/database.rs b/keystore2/src/database.rs
index 113c049..dd64764 100644
--- a/keystore2/src/database.rs
+++ b/keystore2/src/database.rs
@@ -5019,7 +5019,7 @@
     // This allows us to test repeated elements.
 
     thread_local! {
-        static RANDOM_COUNTER: RefCell<i64> = RefCell::new(0);
+        static RANDOM_COUNTER: RefCell<i64> = const { RefCell::new(0) };
     }
 
     fn reset_random() {