This commit is contained in:
Himess 2025-03-24 17:04:38 +08:00 committed by GitHub
commit 0eb475c904
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() });
}
}