about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/accepted.rs
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2024-08-29 15:33:34 +0200
committerFolkert de Vries <folkert@folkertdev.nl>2024-09-14 18:07:06 +0200
commita528f4ecd99cd5e1fb4454fc383688eccd4e34e1 (patch)
tree82359969ac2cc38b23170b3218a675a27860f4a0 /compiler/rustc_feature/src/accepted.rs
parent02b1be16c65e5716ade771afde7116ebdfbf9b4a (diff)
downloadrust-a528f4ecd99cd5e1fb4454fc383688eccd4e34e1.tar.gz
rust-a528f4ecd99cd5e1fb4454fc383688eccd4e34e1.zip
stabilize `const_extern_fn`
Diffstat (limited to 'compiler/rustc_feature/src/accepted.rs')
-rw-r--r--compiler/rustc_feature/src/accepted.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs
index 8949fdffdae..468ea81524a 100644
--- a/compiler/rustc_feature/src/accepted.rs
+++ b/compiler/rustc_feature/src/accepted.rs
@@ -115,6 +115,8 @@ declare_features! (
     (accepted, conservative_impl_trait, "1.26.0", Some(34511)),
     /// Allows calling constructor functions in `const fn`.
     (accepted, const_constructor, "1.40.0", Some(61456)),
+    /// Allows the definition of `const extern fn` and `const unsafe extern fn`.
+    (accepted, const_extern_fn, "CURRENT_RUSTC_VERSION", Some(64926)),
     /// Allows basic arithmetic on floating point types in a `const fn`.
     (accepted, const_fn_floating_point_arithmetic, "1.82.0", Some(57241)),
     /// Allows using and casting function pointers in a `const fn`.