From 2233b24b6a2ee5fcb339d6c588384cbb0027e43f Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Fri, 19 Apr 2019 11:37:29 +0200 Subject: [PATCH] Stabilize the x86 has_cpuid intrinsic --- crates/core_arch/src/x86/cpuid.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/core_arch/src/x86/cpuid.rs b/crates/core_arch/src/x86/cpuid.rs index c52157599c..5009b30081 100644 --- a/crates/core_arch/src/x86/cpuid.rs +++ b/crates/core_arch/src/x86/cpuid.rs @@ -83,6 +83,7 @@ pub unsafe fn __cpuid(leaf: u32) -> CpuidResult { /// Does the host support the `cpuid` instruction? #[inline] +#[stable(feature = "simd_x86_has_cpuid", since = "1.35.0")] pub fn has_cpuid() -> bool { #[cfg(target_env = "sgx")] {