We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
keylocker_x86
kl
widekl
1 parent 5e0bdaa commit cd7533aCopy full SHA for cd7533a
6 files changed
compiler/rustc_feature/src/accepted.rs
@@ -259,6 +259,8 @@ declare_features! (
259
/// Allows some increased flexibility in the name resolution rules,
260
/// especially around globs and shadowing (RFC 1560).
261
(accepted, item_like_imports, "1.15.0", Some(35120)),
262
+ // Allows using the `kl` and `widekl` target features and the associated intrinsics
263
+ (accepted, keylocker_x86, "CURRENT_RUSTC_VERSION", Some(134813)),
264
/// Allows `'a: { break 'a; }`.
265
(accepted, label_break_value, "1.65.0", Some(48594)),
266
/// Allows `let...else` statements.
compiler/rustc_feature/src/unstable.rs
@@ -546,8 +546,6 @@ declare_features! (
546
(incomplete, inherent_associated_types, "1.52.0", Some(8995)),
547
/// Allows using `pointer` and `reference` in intra-doc links
548
(unstable, intra_doc_pointers, "1.51.0", Some(80896)),
549
- // Allows using the `kl` and `widekl` target features and the associated intrinsics
550
- (unstable, keylocker_x86, "1.86.0", Some(134813)),
551
// Allows setting the threshold for the `large_assignments` lint.
552
(unstable, large_assignments, "1.52.0", Some(83518)),
553
/// Allow to have type alias types for inter-crate use.
compiler/rustc_target/src/target_features.rs
@@ -443,7 +443,7 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
443
("fma", Stable, &["avx"]),
444
("fxsr", Stable, &[]),
445
("gfni", Stable, &["sse2"]),
446
- ("kl", Unstable(sym::keylocker_x86), &["sse2"]),
+ ("kl", Stable, &["sse2"]),
447
("lahfsahf", Unstable(sym::lahfsahf_target_feature), &[]),
448
("lzcnt", Stable, &[]),
449
("movbe", Stable, &[]),
@@ -471,7 +471,7 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
471
("tbm", Unstable(sym::tbm_target_feature), &[]),
472
("vaes", Stable, &["avx2", "aes"]),
473
("vpclmulqdq", Stable, &["avx", "pclmulqdq"]),
474
- ("widekl", Unstable(sym::keylocker_x86), &["kl"]),
+ ("widekl", Stable, &["kl"]),
475
("x87", Unstable(sym::x87_target_feature), &[]),
476
("xop", Unstable(sym::xop_target_feature), &[/*"fma4", */ "avx", "sse4a"]),
477
("xsave", Stable, &[]),
library/core/src/lib.rs
@@ -190,7 +190,6 @@
190
#![feature(aarch64_unstable_target_feature)]
191
#![feature(arm_target_feature)]
192
#![feature(hexagon_target_feature)]
193
-#![feature(keylocker_x86)]
194
#![feature(loongarch_target_feature)]
195
#![feature(mips_target_feature)]
196
#![feature(powerpc_target_feature)]
tests/ui/feature-gates/feature-gate-keylocker_x86.rs
tests/ui/feature-gates/feature-gate-keylocker_x86.stderr
0 commit comments