From c26df412f51f88fb66e78ca12e624a1ad82f4305 Mon Sep 17 00:00:00 2001 From: driftluo Date: Tue, 24 Dec 2024 15:29:18 +0800 Subject: [PATCH] revert --- src/tests/ckb_rpc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/ckb_rpc.rs b/src/tests/ckb_rpc.rs index 111c0ab..99a2b46 100644 --- a/src/tests/ckb_rpc.rs +++ b/src/tests/ckb_rpc.rs @@ -232,9 +232,9 @@ fn test_cargo_hang_7() { #[test] fn test_cargo_hang_8() { - use std::cell::LazyCell; + use std::sync::LazyLock; - pub static RUNTIME: LazyCell = LazyCell::new(|| { + pub static RUNTIME: LazyLock = LazyLock::new(|| { tokio::runtime::Builder::new_current_thread() .enable_all() .build()