diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-05-17 15:28:44 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-05-22 21:57:07 -0700 |
| commit | f3723cf7c486fd22544b71d27eca5ed7082c6dff (patch) | |
| tree | 6ea0b137120cac77a8b533ec16637b0c0de2fb5d /src/librustpkg | |
| parent | ebfc2b8e5671a8c56988e05f83c3b1eeaf2abb9a (diff) | |
| download | rust-f3723cf7c486fd22544b71d27eca5ed7082c6dff.tar.gz rust-f3723cf7c486fd22544b71d27eca5ed7082c6dff.zip | |
libextra: Rename the actual metadata names of libcore to libstd and libstd to libextra
Diffstat (limited to 'src/librustpkg')
| -rw-r--r-- | src/librustpkg/context.rs | 2 | ||||
| -rw-r--r-- | src/librustpkg/path_util.rs | 1 | ||||
| -rw-r--r-- | src/librustpkg/rustpkg.rc | 7 | ||||
| -rw-r--r-- | src/librustpkg/util.rs | 1 |
4 files changed, 10 insertions, 1 deletions
diff --git a/src/librustpkg/context.rs b/src/librustpkg/context.rs index 348d828bded..4f67118e520 100644 --- a/src/librustpkg/context.rs +++ b/src/librustpkg/context.rs @@ -10,6 +10,8 @@ // Context data structure used by rustpkg +use core::prelude::*; + use core::hashmap::HashMap; pub struct Ctx { diff --git a/src/librustpkg/path_util.rs b/src/librustpkg/path_util.rs index bbd8d092354..700b3338a3a 100644 --- a/src/librustpkg/path_util.rs +++ b/src/librustpkg/path_util.rs @@ -10,6 +10,7 @@ // rustpkg utilities having to do with paths and directories +use core::prelude::*; pub use util::{PkgId, RemotePath, LocalPath}; use core::libc::consts::os::posix88::{S_IRUSR, S_IWUSR, S_IXUSR}; use core::os::mkdir_recursive; diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc index 19dc973a4a1..79e978c01d1 100644 --- a/src/librustpkg/rustpkg.rc +++ b/src/librustpkg/rustpkg.rc @@ -18,10 +18,15 @@ #[license = "MIT/ASL2"]; #[crate_type = "lib"]; -extern mod std; +#[no_std]; + +extern mod core(name = "std"); +extern mod std(name = "extra"); + extern mod rustc; extern mod syntax; +use core::prelude::*; use core::*; pub use core::path::Path; use core::hashmap::HashMap; diff --git a/src/librustpkg/util.rs b/src/librustpkg/util.rs index 94101c4676f..1425e68a857 100644 --- a/src/librustpkg/util.rs +++ b/src/librustpkg/util.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +use core::prelude::*; use core::*; use core::cmp::Ord; use core::hash::Streaming; |
