about summary refs log tree commit diff
path: root/compiler/rustc_feature
diff options
context:
space:
mode:
authorObei Sideg <obei.sideg@gmail.com>2025-04-08 05:29:19 +0300
committerObei Sideg <obei.sideg@gmail.com>2025-04-15 14:33:19 +0300
commitee53c26b41a74eb0ecf785e8cfac98e5aa980756 (patch)
treeaf9ce3475f7897bb37682d8f3189b4f46bfaafea /compiler/rustc_feature
parentc580c498a1fe144d7c5b2dfc7faab1a229aa288b (diff)
downloadrust-ee53c26b41a74eb0ecf785e8cfac98e5aa980756.tar.gz
rust-ee53c26b41a74eb0ecf785e8cfac98e5aa980756.zip
Add `explicit_extern_abis` unstable feature
also add `explicit-extern-abis` feature section to
the unstable book.
Diffstat (limited to 'compiler/rustc_feature')
-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 36e375c778d..d0ac822ba26 100644
--- a/compiler/rustc_feature/src/unstable.rs
+++ b/compiler/rustc_feature/src/unstable.rs
@@ -477,6 +477,8 @@ declare_features! (
     (incomplete, ergonomic_clones, "1.87.0", Some(132290)),
     /// Allows exhaustive pattern matching on types that contain uninhabited types.
     (unstable, exhaustive_patterns, "1.13.0", Some(51085)),
+    /// Disallows `extern` without an explicit ABI.
+    (unstable, explicit_extern_abis, "CURRENT_RUSTC_VERSION", Some(134986)),
     /// Allows explicit tail calls via `become` expression.
     (incomplete, explicit_tail_calls, "1.72.0", Some(112788)),
     /// Allows using `aapcs`, `efiapi`, `sysv64` and `win64` as calling conventions