From a41b0c25295e06b8eebc4bdcb3021354f766cba0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 14 Feb 2014 10:10:06 -0800 Subject: extern mod => extern crate This was previously implemented, and it just needed a snapshot to go through --- src/libstd/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index e0666ef4179..4452482b7e8 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -30,7 +30,7 @@ //! `std` is imported at the topmost level of every crate by default, as //! if the first line of each crate was //! -//! extern mod std; +//! extern crate std; //! //! This means that the contents of std can be accessed from any context //! with the `std::` path prefix, as in `use std::vec`, `use std::task::spawn`, @@ -64,15 +64,15 @@ // When testing libstd, bring in libuv as the I/O backend so tests can print // things and all of the std::io tests have an I/O interface to run on top // of -#[cfg(test)] extern mod rustuv = "rustuv"; -#[cfg(test)] extern mod native = "native"; -#[cfg(test)] extern mod green = "green"; +#[cfg(test)] extern crate rustuv = "rustuv"; +#[cfg(test)] extern crate native = "native"; +#[cfg(test)] extern crate green = "green"; // Make extra accessible for benchmarking -#[cfg(test)] extern mod extra = "extra"; +#[cfg(test)] extern crate extra = "extra"; // Make std testable by not duplicating lang items. See #2912 -#[cfg(test)] extern mod realstd = "std"; +#[cfg(test)] extern crate realstd = "std"; #[cfg(test)] pub use kinds = realstd::kinds; #[cfg(test)] pub use ops = realstd::ops; #[cfg(test)] pub use cmp = realstd::cmp; -- cgit 1.4.1-3-g733a5