Fix stage 2 tests

This commit is contained in:
varkor 2018-07-25 14:27:27 +01:00
parent 8cee487eb3
commit 319b052357
11 changed files with 10 additions and 13 deletions

View file

@ -74,9 +74,10 @@
#![needs_allocator]
#![deny(missing_debug_implementations)]
#![cfg_attr(test, allow(deprecated))] // rand
#![cfg_attr(not(test), feature(fn_traits))]
#![cfg_attr(not(test), feature(generator_trait))]
#![cfg_attr(test, feature(rand, test))]
#![cfg_attr(test, feature(test))]
#![feature(allocator_api)]
#![feature(allow_internal_unstable)]
#![feature(arbitrary_self_types)]
@ -117,9 +118,6 @@
#![feature(rustc_const_unstable)]
#![feature(const_vec_new)]
#![cfg_attr(not(test), feature(fn_traits))]
#![cfg_attr(test, feature(test))]
// Allow testing this library
#[cfg(test)]

View file

@ -17,9 +17,7 @@
#![feature(exact_size_is_empty)]
#![feature(pattern)]
#![feature(slice_sort_by_cached_key)]
#![feature(splice)]
#![feature(str_escape)]
#![feature(string_retain)]
#![feature(try_reserve)]
#![feature(unboxed_closures)]
#![feature(exact_chunks)]

View file

@ -26,7 +26,6 @@
#![feature(refcell_map_split)]
#![feature(refcell_replace_swap)]
#![feature(slice_patterns)]
#![feature(slice_rotate)]
#![feature(sort_internals)]
#![feature(specialization)]
#![feature(step_trait)]

View file

@ -232,6 +232,7 @@
// std is implemented with unstable features, many of which are internal
// compiler details that will never be stable
#![cfg_attr(test, feature(test, update_panic_count))]
#![feature(alloc)]
#![feature(alloc_error_handler)]
#![feature(alloc_system)]
@ -302,7 +303,6 @@
#![feature(doc_cfg)]
#![feature(doc_masked)]
#![feature(doc_spotlight)]
#![cfg_attr(test, feature(update_panic_count))]
#![cfg_attr(windows, feature(used))]
#![feature(doc_alias)]
#![feature(doc_keyword)]

View file

@ -12,4 +12,4 @@
#![feature(staged_api)]
#![unstable(feature = "unstable_test_feature", issue = "0")]
pub fn baz() { }
pub fn baz() {}

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(test_feature)]
#![feature(unstable_test_feature)]
extern crate bar;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(libc, exit_status)]
#![feature(libc)]
extern crate libc;

View file

@ -13,6 +13,7 @@
// no-prefer-dynamic
// ignore-cloudabi no processes
// ignore-emscripten no processes
// ignore-macos
extern crate exit_success_if_unwind;

View file

@ -12,6 +12,7 @@
// no-prefer-dynamic
// ignore-cloudabi no processes
// ignore-emscripten no processes
// ignore-macos
use std::process::Command;
use std::env;

View file

@ -10,6 +10,7 @@
// compile-flags:-C panic=abort
// no-prefer-dynamic
// ignore-macos
#![feature(panic_abort)]

View file

@ -10,7 +10,6 @@
#![crate_name = "compiletest"]
#![feature(test)]
#![feature(slice_rotate)]
#![deny(warnings)]
extern crate diff;