Skip to content

Commit 969b6fb

Browse files
committed
Fix x86 features
1 parent 8b06bda commit 969b6fb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cpu-features/src/main.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66
all(target_arch = "x86_64", feature = "nightly"),
77
feature(stdarch_x86_feature_detection)
88
)]
9+
#![cfg_attr(
10+
all(target_arch = "x86_64", feature = "nightly"),
11+
feature(xop_target_feature)
12+
)]
13+
#![cfg_attr(
14+
all(target_arch = "x86_64", feature = "nightly"),
15+
feature(movrs_target_feature)
16+
)]
17+
#![cfg_attr(
18+
all(target_arch = "x86_64", feature = "nightly"),
19+
feature(x86_amx_intrinsics)
20+
)]
921

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

0 commit comments

Comments
 (0)