Updated to new extern crate syntax.

Added warning for old deprecated syntax
This commit is contained in:
wickerwaka
2014-09-01 08:59:23 -07:00
parent b42e079c6f
commit 2cb210d2c6
13 changed files with 25 additions and 20 deletions

View File

@@ -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;