about summary refs log tree commit diff
path: root/compiler/rustc_feature
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-16 10:26:46 +0100
committerRalf Jung <post@ralfj.de>2024-12-11 22:18:50 +0100
commitd6ddc73daeb27fc3b5b009105185c44621c3c7cb (patch)
treee0d54555a5054699f465716943b769b24cdbcb60 /compiler/rustc_feature
parent2d887a5c5ca65287bb40dc5b2d108e2bb2dd6719 (diff)
downloadrust-d6ddc73daeb27fc3b5b009105185c44621c3c7cb.tar.gz
rust-d6ddc73daeb27fc3b5b009105185c44621c3c7cb.zip
forbid toggling x87 and fpregs on hard-float targets
Diffstat (limited to 'compiler/rustc_feature')
-rw-r--r--compiler/rustc_feature/src/unstable.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs
index 93a605e197c..25f6c837158 100644
--- a/compiler/rustc_feature/src/unstable.rs
+++ b/compiler/rustc_feature/src/unstable.rs
@@ -342,6 +342,7 @@ declare_features! (
     (unstable, sse4a_target_feature, "1.27.0", Some(44839)),
     (unstable, tbm_target_feature, "1.27.0", Some(44839)),
     (unstable, wasm_target_feature, "1.30.0", Some(44839)),
+    (unstable, x87_target_feature, "CURRENT_RUSTC_VERSION", Some(44839)),
     // !!!!    !!!!    !!!!    !!!!   !!!!    !!!!    !!!!    !!!!    !!!!    !!!!    !!!!
     // Features are listed in alphabetical order. Tidy will fail if you don't keep it this way.
     // !!!!    !!!!    !!!!    !!!!   !!!!    !!!!    !!!!    !!!!    !!!!    !!!!    !!!!