auto merge of #13288 : alexcrichton/rust/remove-check-fast, r=brson

Rebasing of #12304.
This commit is contained in:
bors 2014-04-07 11:26:37 -07:00
commit 9a33330caa
329 changed files with 285 additions and 517 deletions

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:crateresolve_calories-1.rs
// aux-build:crateresolve_calories-2.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
#[crate_id="b#0.1"];
#[crate_type = "lib"];

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast windows doesn't like extern crate
// aux-build:issue-9906.rs
pub use other::FooBar;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[no_std];
#![no_std]
#[lang="fail_"]
fn fail(_: *i8, _: *i8, _: uint) -> ! { loop {} }

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast aux-build
// aux-build:ambig_impl_2_lib.rs
extern crate ambig_impl_2_lib;
use ambig_impl_2_lib::me;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
#![feature(asm)]
fn foo(x: int) { println!("{}", x); }

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
// ignore-android
#![feature(asm)]

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
#![feature(asm)]
fn foo(x: int) { println!("{}", x); }

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
#![feature(asm)]
fn foo(x: int) { println!("{}", x); }

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
#![feature(asm)]
fn foo(x: int) { println!("{}", x); }

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:trait_superkinds_in_metadata.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:coherence_inherent_cc_lib.rs
// Tests that methods that implement a trait cannot be invoked

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:crateresolve5-1.rs
// aux-build:crateresolve5-2.rs

View file

@ -10,8 +10,8 @@
// issue 7327
// ignore-fast #7103
extern crate sync;
use sync::Arc;
struct A { y: Arc<int>, x: Arc<int> }

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast feature doesn't work.
#![feature(struct_variant)]

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast feature doesn't work.
fn main() {
trace_macros!(true); //~ ERROR: `trace_macros` is not stable

View file

@ -18,6 +18,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-freebsd FIXME #12460
#[path = "../compile-fail"]
mod foo; //~ ERROR: illegal operation on a directory

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast aux-build
// aux-build:lint_stability.rs
#![feature(globs)]

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_class_5.rs
extern crate cci_class_5;
use cci_class_5::kitties::cat;

View file

@ -0,0 +1,29 @@
// Copyright 2012 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.
// ignore-test
// error-pattern:library 'm' already added: can't specify link_args.
/* I think it should undefined to have multiple modules that link in the same
library, but provide different link arguments. Unfortunately we don't track
link_args by module -- they are just appended as discovered into the crate
store -- but for now, it should be an error to provide link_args on a module
that's already been included (with or without link_args). */
#[link_name= "m"]
#[link_args="-foo"] // this could have been elided.
extern {
}
#[link_name= "m"]
#[link_args="-bar"] // this is the actual error trigger.
extern {
}

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast feature doesn't work
#![feature(macro_rules, trace_macros)]
fn main() {

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:xc_private_method_lib.rs
extern crate xc_private_method_lib;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:xc_private_method_lib.rs
extern crate xc_private_method_lib;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
// pp-exact
#![feature(asm)]

View file

@ -4,6 +4,8 @@ ifneq ($(shell uname),Darwin)
EXTRAFLAGS := -lm -lrt -ldl -lpthread
endif
# FIXME
ifneq ($(shell uname),FreeBSD)
all:
$(RUSTC) foo.rs
ln -s $(call STATICLIB,foo-*) $(call STATICLIB,foo)
@ -11,3 +13,8 @@ all:
$(call RUN,bar)
rm $(call STATICLIB,foo*)
$(call RUN,bar)
else
all:
endif

View file

@ -1,5 +1,7 @@
-include ../tools.mk
# FIXME
ifneq ($(shell uname),FreeBSD)
all:
$(RUSTC) --dep-info $(TMPDIR)/custom-deps-file.d --crate-type=lib lib.rs
sleep 1
@ -10,3 +12,7 @@ all:
pwd
$(MAKE) -drf Makefile.foo
rm $(TMPDIR)/done && exit 1 || exit 0
else
all:
endif

View file

@ -1,12 +1,18 @@
-include ../tools.mk
ifneq ($(shell uname),FreeBSD)
all:
$(RUSTC) --dep-info --crate-type=lib lib.rs
sleep 1
sleep 2
touch foo.rs
-rm -f $(TMPDIR)/done
$(MAKE) -drf Makefile.foo
sleep 2
rm $(TMPDIR)/done
pwd
$(MAKE) -drf Makefile.foo
rm $(TMPDIR)/done && exit 1 || exit 0
else
all:
endif

View file

@ -1,8 +1,13 @@
-include ../tools.mk
ifneq ($(shell uname),Darwin)
ifeq ($(shell uname),Darwin)
else
ifeq ($(shell uname),FreeBSD)
EXTRAFLAGS := -lm -lpthread -lgcc_s
else
EXTRAFLAGS := -lm -lrt -ldl -lpthread
endif
endif
# Apparently older versions of GCC segfault if -g is passed...
CC := $(CC:-g=)

View file

@ -10,7 +10,6 @@
// aux-build:macro_crate_outlive_expansion_phase.rs
// ignore-stage1
// ignore-fast
// ignore-android
// ignore-cross-compile #12102

View file

@ -10,7 +10,6 @@
// aux-build:macro_crate_test.rs
// ignore-stage1
// ignore-fast
// ignore-android
// ignore-cross-compile #12102

View file

@ -10,7 +10,6 @@
// aux-build:macro_crate_test.rs
// ignore-stage1
// ignore-fast
// ignore-android
// force-host
@ -19,7 +18,6 @@
// This implies that both versions are the host architecture, meaning this test
// must also be compiled with the host arch.
//
// Hence, ignore-stage1 because macros are unstable around there, ignore-fast
// because this doesn't work with that test runner, ignore-android because it
// can't run host binaries, and force-host to make this test build as the host
// arch.

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// ignore-android
#![feature(quote)]
#[deny(unused_variable)];

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast Feature gating doesn't work
// ignore-stage1
// ignore-pretty
// ignore-cross-compile

View file

@ -11,7 +11,6 @@
// ignore-stage1
// ignore-pretty
// ignore-cross-compile #12102
// ignore-fast
#![feature(phase)]
#[phase(syntax)]

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// ignore-pretty
// aux-build:anon-extern-mod-cross-crate-1.rs
extern crate anonexternmod;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast - check-fast doesn't understand aux-build
// aux-build:anon_trait_static_method_lib.rs
extern crate anon_trait_static_method_lib;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
struct X {
x: int

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
#![feature(asm)]
pub fn main() {

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
#![feature(asm)]
#[cfg(target_arch = "x86")]

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #[feature] doesn't work with check-fast
#![feature(asm)]
#[cfg(target_arch = "x86")]

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
pub fn main() {
fail!()

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
#[main]
fn foo() {

View file

@ -2,4 +2,3 @@
#![feature(bogus)]
pub fn main() { }
// ignore-license
// ignore-fast

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//ignore-fast
#[start]
fn start(_argc: int, _argv: **u8) -> int {

View file

@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
#[main]
fn foo() {
}

View file

@ -9,7 +9,6 @@
// except according to those terms.
// ignore-test FIXME(#5121)
// ignore-fast
#[feature(managed_boxes)];

View file

@ -9,7 +9,6 @@
// except according to those terms.
// ignore-win32 FIXME #13259
// ignore-fast this is executing itself
#![no_uv]
extern crate native;

View file

@ -8,8 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
extern crate sync;
use sync::Arc;
fn dispose(_x: Arc<bool>) { }

View file

@ -1,4 +1,3 @@
// ignore-fast
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
fn iter_vec<T>(v: Vec<T> , f: |&T|) { for x in v.iter() { f(x); } }

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
fn iter_vec<T>(v: Vec<T> , f: |&T|) { for x in v.iter() { f(x); } }

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:trait_superkinds_in_metadata.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:trait_superkinds_in_metadata.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// ignore-android (FIXME #11419)
// exec-env:RUST_LOG=info

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast - check-fast doesn't understand aux-build
// aux-build:cci_borrow_lib.rs
#[feature(managed_boxes)];

View file

@ -9,7 +9,6 @@
// except according to those terms.
// aux-build:cci_capture_clause.rs
// ignore-fast
// This test makes sure we can do cross-crate inlining on functions
// that use capture clauses.

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast - check-fast doesn't understand aux-build
// aux-build:cci_impl_lib.rs
extern crate cci_impl_lib;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast - check-fast doesn't understand aux-build
// aux-build:cci_iter_lib.rs
extern crate cci_iter_lib;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast - check-fast doesn't understand aux-build
// aux-build:cci_nested_lib.rs
#[feature(globs, managed_boxes)];

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast - check-fast doesn't understand aux-build
// aux-build:cci_no_inline_lib.rs
extern crate cci_no_inline_lib;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast compile-flags directive doesn't work for check-fast
// compile-flags: --cfg foo
// check that cfg correctly chooses between the macro impls (see also

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast compile-flags directive doesn't work for check-fast
// compile-flags:
// check that cfg correctly chooses between the macro impls (see also

View file

@ -9,7 +9,6 @@
// except according to those terms.
// aux-build:cfg_inner_static.rs
// ignore-fast
extern crate cfg_inner_static;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// compile-flags: --cfg fooA --cfg fooB
// fooA AND !bar

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_class_cast.rs
extern crate cci_class_cast;
use std::to_str::ToStr;

View file

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-freebsd FIXME fails on BSD
#[feature(managed_boxes)];
trait noisy {

View file

@ -1,4 +1,3 @@
// ignore-fast
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
use std::cmp;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_class_trait.rs
extern crate cci_class_trait;
use cci_class_trait::animals::noisy;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
trait noisy {
fn speak(&mut self);

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_class_2.rs
extern crate cci_class_2;
use cci_class_2::kitties::cat;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_class_3.rs
extern crate cci_class_3;
use cci_class_3::kitties::cat;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_class_6.rs
extern crate cci_class_6;
use cci_class_6::kitties::cat;

View file

@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
use std::fmt;
struct cat {

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_class_4.rs
extern crate cci_class_4;
use cci_class_4::kitties::cat;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_class.rs
extern crate cci_class;
use cci_class::kitties::cat;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
fn foo(i: int) -> int { i + 1 }

View file

@ -1,4 +1,3 @@
// ignore-fast
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast exec-env directive doesn't work for check-fast
// compile-flags: --cfg ndebug
// exec-env:RUST_LOG=conditional-debug-macro-off=4

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast compile-flags directive doesn't work for check-fast
// exec-env:RUST_LOG=conditional-debug-macro-on=4
pub fn main() {

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_const.rs
extern crate cci_const;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_const.rs
extern crate cci_const;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// ignore-pretty
// compile-flags:--test

View file

@ -14,7 +14,6 @@
// name_pool::methods impl in the other crate is reachable from this
// crate.
// ignore-fast
// aux-build:crate-method-reexport-grrrrrrr2.rs
extern crate crate_method_reexport_grrrrrrr2;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:crateresolve1-1.rs
// aux-build:crateresolve1-2.rs
// aux-build:crateresolve1-3.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:crateresolve2-1.rs
// aux-build:crateresolve2-2.rs
// aux-build:crateresolve2-3.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:crateresolve3-1.rs
// aux-build:crateresolve3-2.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:crateresolve4a-1.rs
// aux-build:crateresolve4a-2.rs
// aux-build:crateresolve4b-1.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:crateresolve5-1.rs
// aux-build:crateresolve5-2.rs

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:crateresolve8-1.rs
#[crate_id="crateresolve8#0.1"];

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:cci_const.rs
extern crate cci_const;

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
// aux-build:newtype_struct_xc.rs
extern crate newtype_struct_xc;

View file

@ -9,7 +9,6 @@
// except according to those terms.
// ignore-test
// ignore-fast
//
// Too big for our poor macro infrastructure.

View file

@ -9,7 +9,6 @@
// except according to those terms.
// ignore-test
// ignore-fast
//
// Too big for our poor macro infrastructure.

View file

@ -11,7 +11,6 @@
// This actually tests a lot more than just encodable/decodable, but it gets the
// job done at least
// ignore-fast
// ignore-test FIXME(#5121)
#[feature(struct_variant, managed_boxes)];

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast #7103 `extern crate` does not work on check-fast
// ignore-pretty - does not converge
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
use std::hash;
use std::hash::Hash;

View file

@ -10,7 +10,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
#[deriving] //~ WARNING empty trait list in `deriving`
struct Foo;

View file

@ -1,4 +1,3 @@
// ignore-fast
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at

View file

@ -1,4 +1,3 @@
// ignore-fast
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at

Some files were not shown because too many files have changed in this diff Show more