Skip to content

Commit 16f80d8

Browse files
committed
Fix x86 features
1 parent 8b06bda commit 16f80d8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

cpu-features/src/main.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
44
)]
55
#![cfg_attr(
66
all(target_arch = "x86_64", feature = "nightly"),
7-
feature(stdarch_x86_feature_detection)
7+
feature(xop_target_feature)
8+
)]
9+
#![cfg_attr(
10+
all(target_arch = "x86_64", feature = "nightly"),
11+
feature(movrs_target_feature)
12+
)]
13+
#![cfg_attr(
14+
all(target_arch = "x86_64", feature = "nightly"),
15+
feature(x86_amx_intrinsics)
816
)]
917

1018
use std::fmt::{self, Write as _};

0 commit comments

Comments
 (0)