Skip to content

Commit 525b9e8

Browse files
committed
---
yaml --- r: 152440 b: refs/heads/try2 c: c690191 h: refs/heads/master v: v3
1 parent 40e94ef commit 525b9e8

File tree

220 files changed

+2873
-1624
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+2873
-1624
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 992a2db1fc64987c0c68c66e74bff81468b6f7b8
8+
refs/heads/try2: c690191a84728c289a4b3dc17b07934a66311d9d
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/mk/crates.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ DEPS_uuid := std serialize
8383
DEPS_sync := std alloc
8484
DEPS_getopts := std
8585
DEPS_collections := core alloc
86-
DEPS_fourcc := syntax std
87-
DEPS_hexfloat := syntax std
86+
DEPS_fourcc := rustc syntax std
87+
DEPS_hexfloat := rustc syntax std
8888
DEPS_num := std
8989
DEPS_test := std getopts serialize term time regex native:rust_test_helpers
9090
DEPS_time := std serialize sync
9191
DEPS_rand := core
9292
DEPS_url := std
9393
DEPS_log := std sync
9494
DEPS_regex := std
95-
DEPS_regex_macros = syntax std regex
95+
DEPS_regex_macros = rustc syntax std regex
9696
DEPS_fmt_macros = std
9797

9898
TOOL_DEPS_compiletest := test green rustuv getopts

branches/try2/src/compiletest/compiletest.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,17 @@
1818

1919
extern crate test;
2020
extern crate getopts;
21-
#[phase(link, syntax)]
22-
extern crate log;
2321
extern crate green;
2422
extern crate rustuv;
2523

24+
#[cfg(stage0)]
25+
#[phase(syntax, link)]
26+
extern crate log;
27+
28+
#[cfg(not(stage0))]
29+
#[phase(plugin, link)]
30+
extern crate log;
31+
2632
extern crate regex;
2733

2834
use std::os;
@@ -286,6 +292,7 @@ pub fn test_opts(config: &Config) -> test::TestOpts {
286292
save_metrics: config.save_metrics.clone(),
287293
test_shard: config.test_shard.clone(),
288294
nocapture: false,
295+
color: test::AutoColor,
289296
}
290297
}
291298

branches/try2/src/compiletest/procsrv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use std::os;
1212
use std::str;
1313
use std::io::process::{ProcessExit, Command, Process, ProcessOutput};
14-
use std::unstable::dynamic_lib::DynamicLibrary;
14+
use std::dynamic_lib::DynamicLibrary;
1515

1616
fn target_env(lib_path: &str, prog: &str) -> Vec<(String, String)> {
1717
let prog = if cfg!(windows) {prog.slice_to(prog.len() - 4)} else {prog};

branches/try2/src/doc/rust.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,9 +1819,8 @@ type int8_t = i8;
18191819

18201820
### Function-only attributes
18211821

1822-
- `macro_registrar` - when using loadable syntax extensions, mark this
1823-
function as the registration point for the current crate's syntax
1824-
extensions.
1822+
- `plugin_registrar` - mark this function as the registration point for
1823+
compiler plugins, such as loadable syntax extensions.
18251824
- `main` - indicates that this function should be passed to the entry point,
18261825
rather than the function in the crate root named `main`.
18271826
- `start` - indicates that this function should be used as the entry point,
@@ -4098,7 +4097,7 @@ that demonstrates all four of them:
40984097

40994098
~~~~
41004099
#![feature(phase)]
4101-
#[phase(syntax, link)] extern crate log;
4100+
#[phase(plugin, link)] extern crate log;
41024101
41034102
fn main() {
41044103
error!("This is an error log")

branches/try2/src/liballoc/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl<T: Share + Send> Drop for Arc<T> {
184184

185185
// This fence is needed to prevent reordering of use of the data and
186186
// deletion of the data. Because it is marked `Release`, the
187-
// decreasing of the reference count sychronizes with this `Acquire`
187+
// decreasing of the reference count synchronizes with this `Acquire`
188188
// fence. This means that use of the data happens before decreasing
189189
// the refernce count, which happens before this fence, which
190190
// happens before the deletion of the data.

branches/try2/src/liballoc/lib.rs

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

73+
#[cfg(stage0)]
7374
#[phase(syntax, link)]
7475
extern crate core;
76+
77+
#[cfg(not(stage0))]
78+
#[phase(plugin, link)]
79+
extern crate core;
80+
7581
extern crate libc;
7682

7783

@@ -80,8 +86,10 @@ extern crate libc;
8086
#[cfg(test)] extern crate debug;
8187
#[cfg(test)] extern crate sync;
8288
#[cfg(test)] extern crate native;
83-
#[cfg(test)] #[phase(syntax, link)] extern crate std;
84-
#[cfg(test)] #[phase(syntax, link)] extern crate log;
89+
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std;
90+
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
91+
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std;
92+
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
8593

8694
// Heaps provided for low-level allocation strategies
8795

0 commit comments

Comments
 (0)