diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-04-26 12:24:15 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-04-27 21:34:24 -0400 |
| commit | f792baba42b79711b64950c46208a1eb4b9539be (patch) | |
| tree | 246190c51857def54922ac4888e990d2e53164ca /src/compiletest | |
| parent | dd5b1de1812f308ad68472d2ab06c15d3c342d75 (diff) | |
| download | rust-f792baba42b79711b64950c46208a1eb4b9539be.tar.gz rust-f792baba42b79711b64950c46208a1eb4b9539be.zip | |
only use #[no_core] in libcore
Diffstat (limited to 'src/compiletest')
| -rw-r--r-- | src/compiletest/common.rs | 2 | ||||
| -rw-r--r-- | src/compiletest/compiletest.rc | 3 | ||||
| -rw-r--r-- | src/compiletest/errors.rs | 6 | ||||
| -rw-r--r-- | src/compiletest/header.rs | 7 | ||||
| -rw-r--r-- | src/compiletest/procsrv.rs | 6 | ||||
| -rw-r--r-- | src/compiletest/runtest.rs | 9 | ||||
| -rw-r--r-- | src/compiletest/util.rs | 3 |
7 files changed, 0 insertions, 36 deletions
diff --git a/src/compiletest/common.rs b/src/compiletest/common.rs index f892e3a1e23..e515ef302f6 100644 --- a/src/compiletest/common.rs +++ b/src/compiletest/common.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; - #[deriving(Eq)] pub enum mode { mode_compile_fail, diff --git a/src/compiletest/compiletest.rc b/src/compiletest/compiletest.rc index 6626bc039f9..4392ce7ba28 100644 --- a/src/compiletest/compiletest.rc +++ b/src/compiletest/compiletest.rc @@ -10,14 +10,11 @@ #[crate_type = "bin"]; -#[no_core]; - #[allow(vecs_implicitly_copyable)]; #[allow(non_camel_case_types)]; #[allow(deprecated_mode)]; #[allow(deprecated_pattern)]; -extern mod core(vers = "0.7-pre"); extern mod std(vers = "0.7-pre"); use core::*; diff --git a/src/compiletest/errors.rs b/src/compiletest/errors.rs index 3aa88523a87..aa8d61027b3 100644 --- a/src/compiletest/errors.rs +++ b/src/compiletest/errors.rs @@ -8,12 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; - -use core::io; -use core::io::ReaderUtil; -use core::str; - pub struct ExpectedError { line: uint, kind: ~str, msg: ~str } // Load any test directives embedded in the file diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs index 2b365188338..b0d04c6739b 100644 --- a/src/compiletest/header.rs +++ b/src/compiletest/header.rs @@ -8,16 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; - use common; use common::config; -use core::io::ReaderUtil; -use core::io; -use core::os; -use core::str; - pub struct TestProps { // Lines that should be expected, in order, on standard out error_patterns: ~[~str], diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs index 7d78b84dc80..fe08cf1201b 100644 --- a/src/compiletest/procsrv.rs +++ b/src/compiletest/procsrv.rs @@ -8,16 +8,10 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; -use core::io::{ReaderUtil, WriterUtil}; -use core::io; use core::libc::c_int; -use core::os; use core::run::spawn_process; use core::run; -use core::str; -use core::task; #[cfg(target_os = "win32")] fn target_env(lib_path: ~str, prog: ~str) -> ~[(~str,~str)] { diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index ed66aea4f0c..fef4cabf7fd 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; - use common::mode_run_pass; use common::mode_run_fail; use common::mode_compile_fail; @@ -22,13 +20,6 @@ use procsrv; use util; use util::logv; -use core::io::WriterUtil; -use core::io; -use core::os; -use core::str; -use core::uint; -use core::vec; - pub fn run(config: config, testfile: ~str) { if config.verbose { // We're going to be dumping a lot of info. Start on a new line. diff --git a/src/compiletest/util.rs b/src/compiletest/util.rs index 616ca8d4840..51579c33e9a 100644 --- a/src/compiletest/util.rs +++ b/src/compiletest/util.rs @@ -8,11 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; - use common::config; -use core::io; use core::os::getenv; pub fn make_new_path(path: ~str) -> ~str { |
