From 3de0dc5ba38002c6062bc9cc183f9e68f88f5295 Mon Sep 17 00:00:00 2001 From: Himess <95512809+Himess@users.noreply.github.com> Date: Wed, 30 Apr 2025 16:26:07 +0300 Subject: [PATCH] Update init.rs (#350) --- common/merkle_light/benches/ringx/init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/merkle_light/benches/ringx/init.rs b/common/merkle_light/benches/ringx/init.rs index 0f70564..0933095 100644 --- a/common/merkle_light/benches/ringx/init.rs +++ b/common/merkle_light/benches/ringx/init.rs @@ -20,7 +20,7 @@ pub fn init_once() { extern "C" { fn GFp_cpuid_setup(); } - static INIT: std::sync::Once = std::sync::ONCE_INIT; + static INIT: std::sync::Once = std::sync::Once::new(); INIT.call_once(|| unsafe { GFp_cpuid_setup() }); } }