about summary refs log tree commit diff
path: root/src/librustpkg
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-04-26 12:24:15 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-04-27 21:34:24 -0400
commitf792baba42b79711b64950c46208a1eb4b9539be (patch)
tree246190c51857def54922ac4888e990d2e53164ca /src/librustpkg
parentdd5b1de1812f308ad68472d2ab06c15d3c342d75 (diff)
downloadrust-f792baba42b79711b64950c46208a1eb4b9539be.tar.gz
rust-f792baba42b79711b64950c46208a1eb4b9539be.zip
only use #[no_core] in libcore
Diffstat (limited to 'src/librustpkg')
-rw-r--r--src/librustpkg/path_util.rs3
-rw-r--r--src/librustpkg/rustpkg.rc4
-rw-r--r--src/librustpkg/tests.rs5
3 files changed, 1 insertions, 11 deletions
diff --git a/src/librustpkg/path_util.rs b/src/librustpkg/path_util.rs
index 0ebc33cf5bc..0490f066f0b 100644
--- a/src/librustpkg/path_util.rs
+++ b/src/librustpkg/path_util.rs
@@ -10,9 +10,6 @@
 
 // rustpkg utilities having to do with paths and directories
 
-use core::path::*;
-use core::{os, str};
-use core::option::*;
 use util::PkgId;
 use core::libc::consts::os::posix88::{S_IRUSR, S_IWUSR, S_IXUSR};
 
diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc
index e1edce6ce5b..a296f0ca32a 100644
--- a/src/librustpkg/rustpkg.rc
+++ b/src/librustpkg/rustpkg.rc
@@ -17,20 +17,16 @@
 
 #[license = "MIT/ASL2"];
 #[crate_type = "lib"];
-#[no_core];
 #[allow(vecs_implicitly_copyable,
         non_implicitly_copyable_typarams)];
 
-extern mod core(vers = "0.7-pre");
 extern mod std(vers = "0.7-pre");
 extern mod rustc(vers = "0.7-pre");
 extern mod syntax(vers = "0.7-pre");
 
 use core::*;
 pub use core::path::Path;
-use core::container::Map;
 use core::hashmap::HashMap;
-use core::io::WriterUtil;
 use rustc::driver::{driver, session};
 use rustc::metadata::filesearch;
 use std::{getopts};
diff --git a/src/librustpkg/tests.rs b/src/librustpkg/tests.rs
index 70c03c845ce..49cc875355b 100644
--- a/src/librustpkg/tests.rs
+++ b/src/librustpkg/tests.rs
@@ -13,9 +13,6 @@
 use context::Ctx;
 use core::hashmap::HashMap;
 use core::path::Path;
-use core::os;
-use core::io;
-use core::option::*;
 use std::tempfile::mkdtemp;
 use util::{PkgId, default_version};
 use path_util::{target_executable_in_workspace, target_library_in_workspace,
@@ -101,4 +98,4 @@ fn test_install_invalid() {
         fail!(~"test_install_invalid failed, should have raised a condition");
     };
     assert!(substituted == expected_path);
-}
\ No newline at end of file
+}