Update init.rs

This commit is contained in:
Himess 2025-03-03 22:34:41 +03:00 committed by GitHub
parent 898350e271
commit 7235db9899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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() });
}
}