mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-11-10 19:37:28 +00:00
Compare commits
2 Commits
0eb475c904
...
399399ed5a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
399399ed5a | ||
|
|
7235db9899 |
@ -20,7 +20,7 @@ pub fn init_once() {
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
fn GFp_cpuid_setup();
|
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() });
|
INIT.call_once(|| unsafe { GFp_cpuid_setup() });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user