diff options
| author | CensoredUsername <cens.username@gmail.com> | 2017-12-06 01:19:35 +0100 |
|---|---|---|
| committer | CensoredUsername <cens.username@gmail.com> | 2017-12-06 01:19:35 +0100 |
| commit | d68d1278752d67bd8dc98958713daabf716db549 (patch) | |
| tree | 51149ae3bb9abb23673eb7287f350e643d461723 /src/test | |
| parent | cfba0d446e8ab90f0c81aa0942819d05621c8b8e (diff) | |
Stabilize abi_sysv64
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/codegen/abi-sysv64.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/feature-gate-abi-sysv64.rs | 19 | ||||
| -rw-r--r-- | src/test/run-pass/abi-sysv64-arg-passing.rs | 1 | ||||
| -rw-r--r-- | src/test/run-pass/abi-sysv64-register-usage.rs | 1 |
4 files changed, 0 insertions, 22 deletions
diff --git a/src/test/codegen/abi-sysv64.rs b/src/test/codegen/abi-sysv64.rs index 4f6a50eab49..920f5cbcca3 100644 --- a/src/test/codegen/abi-sysv64.rs +++ b/src/test/codegen/abi-sysv64.rs @@ -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] diff --git a/src/test/compile-fail/feature-gate-abi-sysv64.rs b/src/test/compile-fail/feature-gate-abi-sysv64.rs deleted file mode 100644 index 2a4aae8c06b..00000000000 --- a/src/test/compile-fail/feature-gate-abi-sysv64.rs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2016 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or -// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license -// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -// Test that the sysv64 ABI cannot be used when abi-sysv64 feature -// gate is not used. - -extern "sysv64" fn foo() {} -//~^ ERROR sysv64 ABI is experimental and subject to change - -fn main() { - foo(); -} diff --git a/src/test/run-pass/abi-sysv64-arg-passing.rs b/src/test/run-pass/abi-sysv64-arg-passing.rs index 23dd0603184..4ec3f16f7af 100644 --- a/src/test/run-pass/abi-sysv64-arg-passing.rs +++ b/src/test/run-pass/abi-sysv64-arg-passing.rs @@ -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)] diff --git a/src/test/run-pass/abi-sysv64-register-usage.rs b/src/test/run-pass/abi-sysv64-register-usage.rs index 7e3b32122ac..1cae8671266 100644 --- a/src/test/run-pass/abi-sysv64-register-usage.rs +++ b/src/test/run-pass/abi-sysv64-register-usage.rs @@ -15,7 +15,6 @@ // ignore-arm // ignore-aarch64 -#![feature(abi_sysv64)] #![feature(asm)] #[cfg(target_arch = "x86_64")] |
