We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7972bf8 commit 3de0dc5Copy full SHA for 3de0dc5
common/merkle_light/benches/ringx/init.rs
@@ -20,7 +20,7 @@ pub fn init_once() {
20
extern "C" {
21
fn GFp_cpuid_setup();
22
}
23
- static INIT: std::sync::Once = std::sync::ONCE_INIT;
+ static INIT: std::sync::Once = std::sync::Once::new();
24
INIT.call_once(|| unsafe { GFp_cpuid_setup() });
25
26
0 commit comments