Skip to content

Commit e4dcfdb

Browse files
author
Keegan McAllister
committed
Deprecate more fake std modules
1 parent 18251ee commit e4dcfdb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/librand/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ pub struct Open01<F>(pub F);
449449
/// ```
450450
pub struct Closed01<F>(pub F);
451451

452+
// NOTE: Remove after next snapshot
453+
#[cfg(stage0)]
452454
#[cfg(not(test))]
453455
mod std {
454456
pub use core::{option, fmt}; // fail!()

src/libsync/lib.rs

+4-6
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
#![no_std]
3434

3535
#[phase(plugin, link)] extern crate core;
36+
#[phase(plugin, link)] extern crate collections;
3637
extern crate alloc;
37-
extern crate collections;
3838
extern crate rustrt;
3939

4040
#[cfg(test)] extern crate test;
@@ -74,10 +74,8 @@ pub mod comm;
7474

7575
mod lock;
7676

77-
#[cfg(not(test))]
77+
// NOTE: Remove after next snapshot
78+
#[cfg(stage0, not(test))]
7879
mod std {
79-
// NOTE: Remove after next snapshot
80-
#[cfg(stage0)] pub use core::{option, cmp, clone};
81-
82-
pub use core::fmt; // for fail!()
80+
pub use core::{fmt, option, cmp, clone};
8381
}

0 commit comments

Comments
 (0)