Skip to content

Commit 3de0dc5

Browse files
authored
Update init.rs (#350)
1 parent 7972bf8 commit 3de0dc5

File tree

1 file changed

+1
-1
lines changed
  • common/merkle_light/benches/ringx

1 file changed

+1
-1
lines changed

common/merkle_light/benches/ringx/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub fn init_once() {
2020
extern "C" {
2121
fn GFp_cpuid_setup();
2222
}
23-
static INIT: std::sync::Once = std::sync::ONCE_INIT;
23+
static INIT: std::sync::Once = std::sync::Once::new();
2424
INIT.call_once(|| unsafe { GFp_cpuid_setup() });
2525
}
2626
}

0 commit comments

Comments
 (0)