Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilize abi_sysv64 #46528

Merged
merged 1 commit into from
Dec 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,6 @@ declare_features! (
// Allows all literals in attribute lists and values of key-value pairs.
(active, attr_literals, "1.13.0", Some(34981)),

// Allows the sysV64 ABI to be specified on all platforms
// instead of just the platforms on which it is the C ABI
(active, abi_sysv64, "1.13.0", Some(36167)),

// Allows untagged unions `union U { ... }`
(active, untagged_unions, "1.13.0", Some(32836)),

Expand Down Expand Up @@ -520,6 +516,9 @@ declare_features! (
(accepted, rvalue_static_promotion, "1.21.0", Some(38865)),
// Allow Drop types in constants (RFC 1440)
(accepted, drop_types_in_const, "1.22.0", Some(33156)),
// Allows the sysV64 ABI to be specified on all platforms
// instead of just the platforms on which it is the C ABI
(accepted, abi_sysv64, "1.24.0", Some(36167)),
);

// If you change this, please modify src/doc/unstable-book as well. You must
Expand Down Expand Up @@ -1246,10 +1245,6 @@ impl<'a> PostExpansionVisitor<'a> {
gate_feature_post!(&self, unboxed_closures, span,
"rust-call ABI is subject to change");
},
Abi::SysV64 => {
gate_feature_post!(&self, abi_sysv64, span,
"sysv64 ABI is experimental and subject to change");
},
Abi::PtxKernel => {
gate_feature_post!(&self, abi_ptx, span,
"PTX ABIs are experimental and subject to change");
Expand All @@ -1272,6 +1267,7 @@ impl<'a> PostExpansionVisitor<'a> {
Abi::Fastcall |
Abi::Aapcs |
Abi::Win64 |
Abi::SysV64 |
Abi::Rust |
Abi::C |
Abi::System => {}
Expand Down
1 change: 0 additions & 1 deletion src/test/codegen/abi-sysv64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
// compile-flags: -C no-prepopulate-passes

#![crate_type = "lib"]
#![feature(abi_sysv64)]

// CHECK: define x86_64_sysvcc i64 @has_sysv64_abi
#[no_mangle]
Expand Down
19 changes: 0 additions & 19 deletions src/test/compile-fail/feature-gate-abi-sysv64.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/test/run-pass/abi-sysv64-arg-passing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@

// note: windows is ignored as rust_test_helpers does not have the sysv64 abi on windows

#![feature(abi_sysv64)]
#[allow(dead_code)]
#[allow(improper_ctypes)]

Expand Down
1 change: 0 additions & 1 deletion src/test/run-pass/abi-sysv64-register-usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// ignore-arm
// ignore-aarch64

#![feature(abi_sysv64)]
#![feature(asm)]

#[cfg(target_arch = "x86_64")]
Expand Down