Update needed for Rust v1.77.1

error: initializer for `thread_local` value can be made `const`
  --> system/librustutils/system_properties_fuzzer.rs:28:36
   |
28 |     static COUNTER: RefCell<u64> = RefCell::new(0);
   |                                    ^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(0) }`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#thread_local_initializer_can_be_made_const
   = note: `-D clippy::thread-local-initializer-can-be-made-const` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::thread_local_initializer_can_be_made_const)]`

error: aborting due to 1 previous error


Bug: 330185853
 ./test_compiler.py --prebuilt-path dist/rust-dev.tar.xz  --target aosp_cf_x86_64_phone --image

Test: m rust
Change-Id: I6c84953155244ceac2a798cb049796119852fd64
diff --git a/system_properties_fuzzer.rs b/system_properties_fuzzer.rs
index a6d1e05..3c648f6 100644
--- a/system_properties_fuzzer.rs
+++ b/system_properties_fuzzer.rs
@@ -25,7 +25,7 @@
 use std::{fmt, thread, time};
 
 thread_local! {
-    static COUNTER: RefCell<u64> = RefCell::new(0);
+    static COUNTER: RefCell<u64> = const{RefCell::new(0)};
 }
 
 #[derive(Arbitrary, Clone, Debug)]