diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-02-12 10:35:32 -0800 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-12 19:57:45 -0800 |
| commit | 4bb0c3da2c1397034a5036b73bc78369b719f593 (patch) | |
| tree | a692e4db1ac5b1395677f7ca73615f46ef7a2b94 /compiler/rustc_feature/src/unstable.rs | |
| parent | ef148cd7eb00a5a973130dc6473da71fd6c487ee (diff) | |
| download | rust-4bb0c3da2c1397034a5036b73bc78369b719f593.tar.gz rust-4bb0c3da2c1397034a5036b73bc78369b719f593.zip | |
Split out the `extern_system_varargs` feature
After the stabilization PR was opened, `extern "system"` functions were added to `extended_varargs_abi_support`. This has a number of questions regarding it that were not discussed and were somewhat surprising. It deserves to be considered as its own feature, separate from `extended_varargs_abi_support`.
Diffstat (limited to 'compiler/rustc_feature/src/unstable.rs')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index ee22d8990fa..7b9273c1dd5 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -487,9 +487,11 @@ declare_features! ( (unstable, exhaustive_patterns, "1.13.0", Some(51085)), /// Allows explicit tail calls via `become` expression. (incomplete, explicit_tail_calls, "1.72.0", Some(112788)), - /// Allows using `efiapi`, `sysv64` and `win64` as calling convention + /// Allows using `aapcs`, `efiapi`, `sysv64` and `win64` as calling conventions /// for functions with varargs. (unstable, extended_varargs_abi_support, "1.65.0", Some(100189)), + /// Allows using `system` as a calling convention with varargs. + (unstable, extern_system_varargs, "CURRENT_RUSTC_VERSION", Some(136946)), /// Allows defining `extern type`s. (unstable, extern_types, "1.23.0", Some(43467)), /// Allow using 128-bit (quad precision) floating point numbers. |
