mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Fix stage 2 tests
This commit is contained in:
parent
8cee487eb3
commit
319b052357
@ -74,9 +74,10 @@
|
|||||||
#![needs_allocator]
|
#![needs_allocator]
|
||||||
#![deny(missing_debug_implementations)]
|
#![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(not(test), feature(generator_trait))]
|
||||||
#![cfg_attr(test, feature(rand, test))]
|
#![cfg_attr(test, feature(test))]
|
||||||
|
|
||||||
#![feature(allocator_api)]
|
#![feature(allocator_api)]
|
||||||
#![feature(allow_internal_unstable)]
|
#![feature(allow_internal_unstable)]
|
||||||
#![feature(arbitrary_self_types)]
|
#![feature(arbitrary_self_types)]
|
||||||
@ -117,9 +118,6 @@
|
|||||||
#![feature(rustc_const_unstable)]
|
#![feature(rustc_const_unstable)]
|
||||||
#![feature(const_vec_new)]
|
#![feature(const_vec_new)]
|
||||||
|
|
||||||
#![cfg_attr(not(test), feature(fn_traits))]
|
|
||||||
#![cfg_attr(test, feature(test))]
|
|
||||||
|
|
||||||
// Allow testing this library
|
// Allow testing this library
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
#![feature(exact_size_is_empty)]
|
#![feature(exact_size_is_empty)]
|
||||||
#![feature(pattern)]
|
#![feature(pattern)]
|
||||||
#![feature(slice_sort_by_cached_key)]
|
#![feature(slice_sort_by_cached_key)]
|
||||||
#![feature(splice)]
|
|
||||||
#![feature(str_escape)]
|
#![feature(str_escape)]
|
||||||
#![feature(string_retain)]
|
|
||||||
#![feature(try_reserve)]
|
#![feature(try_reserve)]
|
||||||
#![feature(unboxed_closures)]
|
#![feature(unboxed_closures)]
|
||||||
#![feature(exact_chunks)]
|
#![feature(exact_chunks)]
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#![feature(refcell_map_split)]
|
#![feature(refcell_map_split)]
|
||||||
#![feature(refcell_replace_swap)]
|
#![feature(refcell_replace_swap)]
|
||||||
#![feature(slice_patterns)]
|
#![feature(slice_patterns)]
|
||||||
#![feature(slice_rotate)]
|
|
||||||
#![feature(sort_internals)]
|
#![feature(sort_internals)]
|
||||||
#![feature(specialization)]
|
#![feature(specialization)]
|
||||||
#![feature(step_trait)]
|
#![feature(step_trait)]
|
||||||
|
@ -232,6 +232,7 @@
|
|||||||
|
|
||||||
// std is implemented with unstable features, many of which are internal
|
// std is implemented with unstable features, many of which are internal
|
||||||
// compiler details that will never be stable
|
// compiler details that will never be stable
|
||||||
|
#![cfg_attr(test, feature(test, update_panic_count))]
|
||||||
#![feature(alloc)]
|
#![feature(alloc)]
|
||||||
#![feature(alloc_error_handler)]
|
#![feature(alloc_error_handler)]
|
||||||
#![feature(alloc_system)]
|
#![feature(alloc_system)]
|
||||||
@ -302,7 +303,6 @@
|
|||||||
#![feature(doc_cfg)]
|
#![feature(doc_cfg)]
|
||||||
#![feature(doc_masked)]
|
#![feature(doc_masked)]
|
||||||
#![feature(doc_spotlight)]
|
#![feature(doc_spotlight)]
|
||||||
#![cfg_attr(test, feature(update_panic_count))]
|
|
||||||
#![cfg_attr(windows, feature(used))]
|
#![cfg_attr(windows, feature(used))]
|
||||||
#![feature(doc_alias)]
|
#![feature(doc_alias)]
|
||||||
#![feature(doc_keyword)]
|
#![feature(doc_keyword)]
|
||||||
|
@ -12,4 +12,4 @@
|
|||||||
#![feature(staged_api)]
|
#![feature(staged_api)]
|
||||||
#![unstable(feature = "unstable_test_feature", issue = "0")]
|
#![unstable(feature = "unstable_test_feature", issue = "0")]
|
||||||
|
|
||||||
pub fn baz() { }
|
pub fn baz() {}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![feature(test_feature)]
|
#![feature(unstable_test_feature)]
|
||||||
|
|
||||||
extern crate bar;
|
extern crate bar;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![feature(libc, exit_status)]
|
#![feature(libc)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
// no-prefer-dynamic
|
// no-prefer-dynamic
|
||||||
// ignore-cloudabi no processes
|
// ignore-cloudabi no processes
|
||||||
// ignore-emscripten no processes
|
// ignore-emscripten no processes
|
||||||
|
// ignore-macos
|
||||||
|
|
||||||
extern crate exit_success_if_unwind;
|
extern crate exit_success_if_unwind;
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
// no-prefer-dynamic
|
// no-prefer-dynamic
|
||||||
// ignore-cloudabi no processes
|
// ignore-cloudabi no processes
|
||||||
// ignore-emscripten no processes
|
// ignore-emscripten no processes
|
||||||
|
// ignore-macos
|
||||||
|
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
use std::env;
|
use std::env;
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
// compile-flags:-C panic=abort
|
// compile-flags:-C panic=abort
|
||||||
// no-prefer-dynamic
|
// no-prefer-dynamic
|
||||||
|
// ignore-macos
|
||||||
|
|
||||||
#![feature(panic_abort)]
|
#![feature(panic_abort)]
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
#![crate_name = "compiletest"]
|
#![crate_name = "compiletest"]
|
||||||
#![feature(test)]
|
#![feature(test)]
|
||||||
#![feature(slice_rotate)]
|
|
||||||
#![deny(warnings)]
|
#![deny(warnings)]
|
||||||
|
|
||||||
extern crate diff;
|
extern crate diff;
|
||||||
|
Loading…
Reference in New Issue
Block a user