Skip to content

Commit 40e94ef

Browse files
committed
---
yaml --- r: 152439 b: refs/heads/try2 c: 992a2db h: refs/heads/master i: 152437: 713b5f4 152435: 23a073b 152431: 7ed4ac0 v: v3
1 parent c033532 commit 40e94ef

File tree

221 files changed

+1630
-2875
lines changed

Some content is hidden

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

221 files changed

+1630
-2875
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: f92a8facf90b40a483032cedb98decc8c41bde51
8+
refs/heads/try2: 992a2db1fc64987c0c68c66e74bff81468b6f7b8
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 := rustc syntax std
87-
DEPS_hexfloat := rustc syntax std
86+
DEPS_fourcc := syntax std
87+
DEPS_hexfloat := 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 = rustc syntax std regex
95+
DEPS_regex_macros = syntax std regex
9696
DEPS_fmt_macros = std
9797

9898
TOOL_DEPS_compiletest := test green rustuv getopts

branches/try2/mk/docs.mk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,18 @@ LIB_DOC_DEP_$(1) = \
273273
$$(RSINPUTS_$(1)) \
274274
$$(RUSTDOC_EXE) \
275275
$$(foreach dep,$$(RUST_DEPS_$(1)), \
276-
$$(TLIB2_T_$(CFG_BUILD)_H_$(CFG_BUILD))/stamp.$$(dep))
276+
$$(TLIB2_T_$(CFG_BUILD)_H_$(CFG_BUILD))/stamp.$$(dep) \
277+
doc/$$(dep)/)
277278
else
278279
LIB_DOC_DEP_$(1) = $$(CRATEFILE_$(1)) $$(RSINPUTS_$(1))
279280
endif
280281

282+
doc/$(1)/:
283+
$$(Q)mkdir -p $$@
284+
281285
$(2) += doc/$(1)/index.html
282286
doc/$(1)/index.html: CFG_COMPILER_HOST_TRIPLE = $(CFG_TARGET)
283-
doc/$(1)/index.html: $$(LIB_DOC_DEP_$(1))
287+
doc/$(1)/index.html: $$(LIB_DOC_DEP_$(1)) doc/$(1)/
284288
@$$(call E, rustdoc $$@)
285289
$$(Q)$$(RUSTDOC) --cfg dox --cfg stage2 $$<
286290
endef

branches/try2/src/compiletest/compiletest.rs

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

1919
extern crate test;
2020
extern crate getopts;
21+
#[phase(link, syntax)]
22+
extern crate log;
2123
extern crate green;
2224
extern crate rustuv;
2325

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-
3226
extern crate regex;
3327

3428
use std::os;
@@ -292,7 +286,6 @@ pub fn test_opts(config: &Config) -> test::TestOpts {
292286
save_metrics: config.save_metrics.clone(),
293287
test_shard: config.test_shard.clone(),
294288
nocapture: false,
295-
color: test::AutoColor,
296289
}
297290
}
298291

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::dynamic_lib::DynamicLibrary;
14+
use std::unstable::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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,8 +1819,9 @@ type int8_t = i8;
18191819

18201820
### Function-only attributes
18211821

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

40984099
~~~~
40994100
#![feature(phase)]
4100-
#[phase(plugin, link)] extern crate log;
4101+
#[phase(syntax, link)] extern crate log;
41014102
41024103
fn main() {
41034104
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 synchronizes with this `Acquire`
187+
// decreasing of the reference count sychronizes 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: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,8 @@
7070
#![no_std]
7171
#![feature(phase)]
7272

73-
#[cfg(stage0)]
7473
#[phase(syntax, link)]
7574
extern crate core;
76-
77-
#[cfg(not(stage0))]
78-
#[phase(plugin, link)]
79-
extern crate core;
80-
8175
extern crate libc;
8276

8377

@@ -86,10 +80,8 @@ extern crate libc;
8680
#[cfg(test)] extern crate debug;
8781
#[cfg(test)] extern crate sync;
8882
#[cfg(test)] extern crate native;
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;
83+
#[cfg(test)] #[phase(syntax, link)] extern crate std;
84+
#[cfg(test)] #[phase(syntax, link)] extern crate log;
9385

9486
// Heaps provided for low-level allocation strategies
9587

0 commit comments

Comments
 (0)