mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-11-09 10:58:54 +00:00
Compare commits
2 Commits
0eb475c904
...
399399ed5a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
399399ed5a | ||
|
|
7235db9899 |
@ -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() });
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user