Skip to content

Commit d1f9d2c

Browse files
committed
more test updates
1 parent f019006 commit d1f9d2c

39 files changed

Lines changed: 198 additions & 264 deletions

library/core/src/ffi/va_list.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ crate::cfg_select! {
189189
/// is automatically initialized (equivalent to calling `va_start` in C).
190190
///
191191
/// ```
192-
/// #![feature(c_variadic)]
193-
///
194192
/// use std::ffi::VaList;
195193
///
196194
/// /// # Safety

src/tools/miri/tests/fail/c-variadic-mismatch-count.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(c_variadic)]
2-
31
unsafe extern "C" fn helper(_: i32, _: ...) {}
42

53
fn main() {

src/tools/miri/tests/fail/c-variadic.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(c_variadic)]
2-
31
//@error-in-other-file: Undefined Behavior: more C-variadic arguments read than were passed
42

53
fn read_too_many() {

src/tools/miri/tests/pass/c-variadic.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(c_variadic)]
2-
31
use std::ffi::{CStr, VaList, c_char, c_double, c_int, c_long};
42

53
fn ignores_arguments() {

tests/assembly-llvm/c-variadic-arm.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//@ ignore-android
66
#![no_std]
77
#![crate_type = "lib"]
8-
#![feature(c_variadic)]
98

109
// Check that the assembly that rustc generates matches what clang emits.
1110

tests/assembly-llvm/c-variadic-mips.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//@ [MIPS64] needs-llvm-components: mips
99
//@ [MIPS64EL] compile-flags: -Copt-level=3 --target mips64el-unknown-linux-gnuabi64
1010
//@ [MIPS64EL] needs-llvm-components: mips
11-
#![feature(c_variadic, no_core, lang_items, intrinsics, rustc_attrs, asm_experimental_arch)]
11+
#![feature(no_core, lang_items, intrinsics, rustc_attrs, asm_experimental_arch)]
1212
#![no_core]
1313
#![crate_type = "lib"]
1414

tests/codegen-llvm/cffi/c-variadic-naked.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// tests that `va_start` is not injected into naked functions
55

66
#![crate_type = "lib"]
7-
#![feature(c_variadic)]
87
#![no_std]
98

109
#[unsafe(naked)]

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0
33

44
#![crate_type = "lib"]
5-
#![feature(c_variadic)]
65
#![no_std]
76
use core::ffi::VaList;
87

tests/mir-opt/inline/inline_compatibility.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#![crate_type = "lib"]
77
#![feature(sanitize)]
8-
#![feature(c_variadic)]
98

109
#[inline]
1110
#[target_feature(enable = "sse2")]

tests/run-make/c-link-to-rust-va-list-fn/checkrust.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![crate_type = "staticlib"]
2-
#![feature(c_variadic)]
32

43
use core::ffi::{CStr, VaList, c_char, c_double, c_int, c_long, c_longlong};
54

0 commit comments

Comments
 (0)