about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorsayantn <sayantan.chakraborty@students.iiserpune.ac.in>2024-06-23 12:12:51 +0530
committerJubilee Young <workingjubilee@gmail.com>2024-07-11 19:00:49 -0700
commitec05c4ea3fd9b6f7978091f3098ac52116e47a20 (patch)
treeaa383840816b36ab15b22b116e9f0f9fc75a52dd /compiler/rustc_feature/src
parent5e311f933d844b6922256a0c0aa49b86159534f5 (diff)
downloadrust-ec05c4ea3fd9b6f7978091f3098ac52116e47a20.tar.gz
rust-ec05c4ea3fd9b6f7978091f3098ac52116e47a20.zip
Add the feature gate and target-features
Diffstat (limited to 'compiler/rustc_feature/src')
-rw-r--r--compiler/rustc_feature/src/unstable.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs
index d7d994d95c5..3f550f658e8 100644
--- a/compiler/rustc_feature/src/unstable.rs
+++ b/compiler/rustc_feature/src/unstable.rs
@@ -640,6 +640,8 @@ declare_features! (
     (unstable, unsized_tuple_coercion, "1.20.0", Some(42877)),
     /// Allows using the `#[used(linker)]` (or `#[used(compiler)]`) attribute.
     (unstable, used_with_arg, "1.60.0", Some(93798)),
+    /// Allows use of x86 `AMX` target-feature attributes and intrinsics
+    (unstable, x86_amx_intrinsics, "CURRENT_RUSTC_VERSION", Some(126622)),
     /// Allows `do yeet` expressions
     (unstable, yeet_expr, "1.62.0", Some(96373)),
     // !!!!    !!!!    !!!!    !!!!   !!!!    !!!!    !!!!    !!!!    !!!!    !!!!    !!!!