diff options
| author | wickerwaka <martin.donlon@gmail.com> | 2014-09-01 08:59:23 -0700 |
|---|---|---|
| committer | wickerwaka <martin.donlon@gmail.com> | 2014-09-01 09:02:00 -0700 |
| commit | 2cb210d2c671582a97c75d446bf2312af362b1cc (patch) | |
| tree | ff71e04887f9a2d4683269672dbfde1e5ac231d8 /src/libstd/lib.rs | |
| parent | b42e079c6f6445b4e2adfaf9a30e8a06403f75c8 (diff) | |
| download | rust-2cb210d2c671582a97c75d446bf2312af362b1cc.tar.gz rust-2cb210d2c671582a97c75d446bf2312af362b1cc.zip | |
Updated to new extern crate syntax.
Added warning for old deprecated syntax
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 7fed4c94164..b29e5b7c148 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -129,14 +129,14 @@ extern crate alloc; extern crate unicode; extern crate core; -extern crate core_collections = "collections"; -extern crate core_rand = "rand"; -extern crate core_sync = "sync"; +extern crate "collections" as core_collections; +extern crate "rand" as core_rand; +extern crate "sync" as core_sync; extern crate libc; extern crate rustrt; // Make std testable by not duplicating lang items. See #2912 -#[cfg(test)] extern crate realstd = "std"; +#[cfg(test)] extern crate "std" as realstd; #[cfg(test)] pub use realstd::kinds; #[cfg(test)] pub use realstd::ops; #[cfg(test)] pub use realstd::cmp; |
