diff options
| author | Ted Horst <ted.horst@earthlink.net> | 2013-05-23 15:06:29 -0500 |
|---|---|---|
| committer | Ted Horst <ted.horst@earthlink.net> | 2013-05-23 15:06:29 -0500 |
| commit | 34cfd2183b1d46ccec97691870a3bcceee5ee367 (patch) | |
| tree | 4f2fc889423e27ba3956a42bf103d36e30582492 /src | |
| parent | 6e2b082adc84c22ea3b023f4f08d7b21857fc399 (diff) | |
| download | rust-34cfd2183b1d46ccec97691870a3bcceee5ee367.tar.gz rust-34cfd2183b1d46ccec97691870a3bcceee5ee367.zip | |
more testing fallout from core->std/std->extra move
Diffstat (limited to 'src')
| -rw-r--r-- | src/etc/extract-tests.py | 4 | ||||
| -rw-r--r-- | src/librusti/rusti.rc | 1 | ||||
| -rw-r--r-- | src/librustpkg/tests.rs | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/etc/extract-tests.py b/src/etc/extract-tests.py index 12740a5616b..0260789adfc 100644 --- a/src/etc/extract-tests.py +++ b/src/etc/extract-tests.py @@ -57,8 +57,8 @@ while cur < len(lines): if not ignore: if not re.search(r"\bfn main\b", block): block = "fn main() {\n" + block + "\n}\n" - if not re.search(r"\bextern mod std\b", block): - block = "extern mod std;\n" + block + if not re.search(r"\bextern mod extra\b", block): + block = "extern mod extra;\n" + block block = """#[ forbid(ctypes) ]; #[ forbid(deprecated_pattern) ]; #[ forbid(implicit_copies) ]; diff --git a/src/librusti/rusti.rc b/src/librusti/rusti.rc index c79714bba36..d99e6f5085d 100644 --- a/src/librusti/rusti.rc +++ b/src/librusti/rusti.rc @@ -431,6 +431,7 @@ pub fn main() { #[cfg(test)] mod tests { use super::*; + use core::io; fn repl() -> Repl { Repl { diff --git a/src/librustpkg/tests.rs b/src/librustpkg/tests.rs index 2574ba4e762..55bc302d9a1 100644 --- a/src/librustpkg/tests.rs +++ b/src/librustpkg/tests.rs @@ -13,6 +13,7 @@ use context::Ctx; use core::hashmap::HashMap; use core::path::Path; +use core::prelude::*; use std::tempfile::mkdtemp; use util::{PkgId, default_version}; use path_util::{target_executable_in_workspace, target_library_in_workspace, |
