Skip to content

Commit f20b129

Browse files
committed
Register new snapshots
1 parent d64f18c commit f20b129

File tree

19 files changed

+27
-119
lines changed

19 files changed

+27
-119
lines changed

src/compiletest/compiletest.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,7 @@ extern crate test;
2020
extern crate getopts;
2121
extern crate green;
2222
extern crate rustuv;
23-
24-
#[cfg(stage0)]
25-
#[phase(syntax, link)]
26-
extern crate log;
27-
28-
#[cfg(not(stage0))]
29-
#[phase(plugin, link)]
30-
extern crate log;
23+
#[phase(plugin, link)] extern crate log;
3124

3225
extern crate regex;
3326

src/liballoc/lib.rs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,25 +70,16 @@
7070
#![no_std]
7171
#![feature(phase)]
7272

73-
#[cfg(stage0)]
74-
#[phase(syntax, link)]
75-
extern crate core;
76-
77-
#[cfg(not(stage0))]
7873
#[phase(plugin, link)]
7974
extern crate core;
80-
8175
extern crate libc;
8276

83-
8477
// Allow testing this library
8578

8679
#[cfg(test)] extern crate debug;
8780
#[cfg(test)] extern crate native;
88-
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std;
89-
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
90-
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std;
91-
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
81+
#[cfg(test)] #[phase(plugin, link)] extern crate std;
82+
#[cfg(test)] #[phase(plugin, link)] extern crate log;
9283

9384
// Heaps provided for low-level allocation strategies
9485

src/libcollections/lib.rs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,15 @@
2323
#![feature(macro_rules, managed_boxes, default_type_params, phase, globs)]
2424
#![no_std]
2525

26+
#[phase(plugin, link)] extern crate core;
2627
extern crate alloc;
2728

28-
#[cfg(stage0)]
29-
#[phase(syntax, link)]
30-
extern crate core;
31-
32-
#[cfg(not(stage0))]
33-
#[phase(plugin, link)]
34-
extern crate core;
35-
3629
#[cfg(test)] extern crate native;
3730
#[cfg(test)] extern crate test;
3831
#[cfg(test)] extern crate debug;
3932

40-
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std;
41-
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
42-
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std;
43-
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
33+
#[cfg(test)] #[phase(plugin, link)] extern crate std;
34+
#[cfg(test)] #[phase(plugin, link)] extern crate log;
4435

4536
use core::prelude::*;
4637

src/libflate/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ Simple [DEFLATE][def]-based compression. This is a wrapper around the
2727
html_root_url = "http://doc.rust-lang.org/")]
2828
#![feature(phase)]
2929

30-
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
31-
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
30+
#[cfg(test)] #[phase(plugin, link)] extern crate log;
3231

3332
extern crate libc;
3433

src/libgetopts/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@
9090
#![deny(missing_doc)]
9191

9292
#[cfg(test)] extern crate debug;
93-
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
94-
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
93+
#[cfg(test)] #[phase(plugin, link)] extern crate log;
9594

9695
use std::cmp::PartialEq;
9796
use std::fmt;

src/librand/lib.rs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,11 @@
2828
#![no_std]
2929
#![experimental]
3030

31-
#[cfg(stage0)]
32-
#[phase(syntax, link)]
33-
extern crate core;
34-
35-
#[cfg(not(stage0))]
3631
#[phase(plugin, link)]
3732
extern crate core;
3833

39-
#[cfg(test, stage0)]
40-
#[phase(syntax, link)] extern crate std;
41-
42-
#[cfg(test, stage0)]
43-
#[phase(syntax, link)] extern crate log;
44-
45-
#[cfg(test, not(stage0))]
46-
#[phase(plugin, link)] extern crate std;
47-
48-
#[cfg(test, not(stage0))]
49-
#[phase(plugin, link)] extern crate log;
50-
34+
#[cfg(test)] #[phase(plugin, link)] extern crate std;
35+
#[cfg(test)] #[phase(plugin, link)] extern crate log;
5136
#[cfg(test)] extern crate native;
5237
#[cfg(test)] extern crate debug;
5338

src/librustc/lib.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,7 @@ extern crate libc;
4040
extern crate serialize;
4141
extern crate syntax;
4242
extern crate time;
43-
44-
#[cfg(stage0)]
45-
#[phase(syntax, link)]
46-
extern crate log;
47-
48-
#[cfg(not(stage0))]
49-
#[phase(plugin, link)]
50-
extern crate log;
43+
#[phase(plugin, link)] extern crate log;
5144

5245
pub mod middle {
5346
pub mod def;

src/librustdoc/lib.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,7 @@ extern crate serialize;
2424
extern crate syntax;
2525
extern crate testing = "test";
2626
extern crate time;
27-
28-
#[cfg(stage0)]
29-
#[phase(syntax, link)]
30-
extern crate log;
31-
32-
#[cfg(not(stage0))]
33-
#[phase(plugin, link)]
34-
extern crate log;
27+
#[phase(plugin, link)] extern crate log;
3528

3629
use std::io;
3730
use std::io::{File, MemWriter};

src/librustrt/lib.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,7 @@
2020
#![no_std]
2121
#![experimental]
2222

23-
#[cfg(stage0)]
24-
#[phase(syntax, link)]
25-
extern crate core;
26-
27-
#[cfg(not(stage0))]
28-
#[phase(plugin, link)]
29-
extern crate core;
30-
23+
#[phase(plugin, link)] extern crate core;
3124
extern crate alloc;
3225
extern crate libc;
3326
extern crate collections;
@@ -36,8 +29,7 @@ extern crate collections;
3629
#[cfg(test)] extern crate test;
3730
#[cfg(test)] extern crate native;
3831

39-
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std;
40-
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std;
32+
#[cfg(test)] #[phase(plugin, link)] extern crate std;
4133

4234
pub use self::util::{Stdio, Stdout, Stderr};
4335
pub use self::unwind::{begin_unwind, begin_unwind_fmt};

src/libserialize/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ Core encoding and decoding interfaces.
2828
#[cfg(test)]
2929
extern crate test;
3030

31-
#[cfg(stage0)]
32-
#[phase(syntax, link)]
33-
extern crate log;
34-
35-
#[cfg(not(stage0))]
3631
#[phase(plugin, link)]
3732
extern crate log;
3833

0 commit comments

Comments
 (0)