Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b2b4397

Browse files
committed
stabilize extern_system_varargs
1 parent 94722ca commit b2b4397

File tree

6 files changed

+4
-27
lines changed

6 files changed

+4
-27
lines changed

‎compiler/rustc_abi/src/extern_abi.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,8 @@ impl ExternAbi {
269269
| Self::Aapcs { .. }
270270
| Self::Win64 { .. }
271271
| Self::SysV64 { .. }
272-
| Self::EfiApi => CVariadicStatus::Stable,
273-
Self::System { .. } => {
274-
CVariadicStatus::Unstable { feature: rustc_span::sym::extern_system_varargs }
275-
}
272+
| Self::EfiApi
273+
| Self::System { .. } => CVariadicStatus::Stable,
276274
_ => CVariadicStatus::NotSupported,
277275
}
278276
}

‎compiler/rustc_feature/src/accepted.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ declare_features! (
215215
(accepted, extern_crate_self, "1.34.0", Some(56409)),
216216
/// Allows access to crate names passed via `--extern` through prelude.
217217
(accepted, extern_prelude, "1.30.0", Some(44660)),
218+
/// Allows using `system` as a calling convention with varargs.
219+
(accepted, extern_system_varargs, "CURRENT_RUSTC_VERSION", Some(136946)),
218220
/// Allows using F16C intrinsics from `core::arch::{x86, x86_64}`.
219221
(accepted, f16c_target_feature, "1.68.0", Some(44839)),
220222
/// Allows field shorthands (`x` meaning `x: x`) in struct literal expressions.

‎compiler/rustc_feature/src/unstable.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,6 @@ declare_features! (
492492
(incomplete, explicit_tail_calls, "1.72.0", Some(112788)),
493493
/// Allows using `#[export_stable]` which indicates that an item is exportable.
494494
(incomplete, export_stable, "1.88.0", Some(139939)),
495-
/// Allows using `system` as a calling convention with varargs.
496-
(unstable, extern_system_varargs, "1.86.0", Some(136946)),
497495
/// Allows defining `extern type`s.
498496
(unstable, extern_types, "1.23.0", Some(43467)),
499497
/// Allow using 128-bit (quad precision) floating point numbers.

‎tests/codegen-llvm/cffi/c-variadic-ffi.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
//@[arm32] needs-llvm-components: arm
1515
#![crate_type = "lib"]
1616
#![feature(no_core)]
17-
#![feature(extern_system_varargs)]
1817
#![no_core]
1918

2019
extern crate minicore;

‎tests/ui/feature-gates/feature-gate-extern_system_varargs.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎tests/ui/feature-gates/feature-gate-extern_system_varargs.stderr

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /