We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[inline(never)]
1 parent e8ffeaf commit f2dc127Copy full SHA for f2dc127
cpufeatures/src/x86.rs
@@ -38,17 +38,10 @@ macro_rules! __detect_target_features {
38
#[cfg(target_arch = "x86_64")]
39
use core::arch::x86_64::{__cpuid, __cpuid_count, CpuidResult};
40
41
- // These wrappers are workarounds around
42
- // https://github.com/rust-lang/rust/issues/101346
43
- //
44
- // DO NOT remove it until MSRV is bumped to a version
45
- // with the issue fix (at least 1.64).
46
- #[inline(never)]
47
unsafe fn cpuid(leaf: u32) -> CpuidResult {
48
__cpuid(leaf)
49
}
50
51
52
unsafe fn cpuid_count(leaf: u32, sub_leaf: u32) -> CpuidResult {
53
__cpuid_count(leaf, sub_leaf)
54
0 commit comments