Skip to content

Commit 4f0ab65

Browse files
committed
---
yaml --- r: 150007 b: refs/heads/try2 c: 2c37220 h: refs/heads/master i: 150005: 5f8d20c 150003: 3eab89f 149999: f0cf737 v: v3
1 parent 220ce72 commit 4f0ab65

File tree

403 files changed

+1934
-1832
lines changed

Some content is hidden

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

403 files changed

+1934
-1832
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: d956975e7d92f56ebfa6133c45af62d024b888df
8+
refs/heads/try2: 2c372201d447cbf4d3e1e2d675d1776e765f3b65
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/mk/clean.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ define CLEAN_HOST_STAGE_N
7878
clean$(1)_H_$(2): \
7979
$$(foreach crate,$$(CRATES),clean$(1)_H_$(2)-lib-$$(crate)) \
8080
$$(foreach tool,$$(TOOLS),clean$(1)_H_$(2)-tool-$$(tool))
81-
$$(Q)rm -fr $(2)/rt/libbacktrace
8281

8382
clean$(1)_H_$(2)-tool-%:
8483
$$(Q)rm -f $$(HBIN$(1)_H_$(2))/$$*$$(X_$(2))

branches/try2/mk/crates.mk

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
TARGET_CRATES := std green rustuv native flate arena glob term semver \
5353
uuid serialize sync getopts collections num test time rand \
54-
workcache url log
54+
workcache url
5555
HOST_CRATES := syntax rustc rustdoc fourcc hexfloat
5656
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
5757
TOOLS := compiletest rustdoc rustc
@@ -60,15 +60,15 @@ DEPS_std := native:rustrt native:compiler-rt native:backtrace
6060
DEPS_green := std rand native:context_switch
6161
DEPS_rustuv := std native:uv native:uv_support
6262
DEPS_native := std
63-
DEPS_syntax := std term serialize collections log
63+
DEPS_syntax := std term serialize collections
6464
DEPS_rustc := syntax native:rustllvm flate arena serialize sync getopts \
65-
collections time log
65+
collections time
6666
DEPS_rustdoc := rustc native:sundown serialize sync getopts collections \
6767
test time
6868
DEPS_flate := std native:miniz
6969
DEPS_arena := std collections
7070
DEPS_glob := std
71-
DEPS_serialize := std collections log
71+
DEPS_serialize := std collections
7272
DEPS_term := std collections
7373
DEPS_semver := std
7474
DEPS_uuid := std serialize rand
@@ -82,8 +82,7 @@ DEPS_test := std collections getopts serialize term time
8282
DEPS_time := std serialize
8383
DEPS_rand := std
8484
DEPS_url := std collections
85-
DEPS_workcache := std serialize collections log
86-
DEPS_log := std sync
85+
DEPS_workcache := std serialize collections std
8786

8887
TOOL_DEPS_compiletest := test green rustuv getopts
8988
TOOL_DEPS_rustdoc := rustdoc native

branches/try2/src/compiletest/compiletest.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@
99
// except according to those terms.
1010

1111
#[crate_type = "bin"];
12-
#[feature(phase)];
1312

1413
#[allow(non_camel_case_types)];
1514
#[deny(warnings)];
1615
#[allow(deprecated_owned_vector)];
1716

1817
extern crate test;
1918
extern crate getopts;
20-
#[phase(link, syntax)]
21-
extern crate log;
2219

2320
use std::os;
2421
use std::io;

branches/try2/src/doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ li {list-style-type: none; }
3030

3131
* [The `arena` allocation library](arena/index.html)
3232
* [The `collections` library](collections/index.html)
33+
* [The `extra` library of extra stuff](extra/index.html)
3334
* [The `flate` compression library](flate/index.html)
3435
* [The `fourcc` four-character code library](fourcc/index.html)
3536
* [The `getopts` argument parsing library](getopts/index.html)
@@ -51,7 +52,6 @@ li {list-style-type: none; }
5152
* [The `uuid` 128-bit universally unique identifier library](uuid/index.html)
5253
* [The `url` library](url/index.html)
5354
* [The `workcache` library](workcache/index.html)
54-
* [The `log` library](log/index.html)
5555

5656
# Tooling
5757

branches/try2/src/doc/rust.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ output slot type would normally be. For example:
10551055

10561056
~~~~
10571057
fn my_err(s: &str) -> ! {
1058-
println!("{}", s);
1058+
info!("{}", s);
10591059
fail!();
10601060
}
10611061
~~~~
@@ -3885,9 +3885,6 @@ Rust provides several macros to log information. Here's a simple Rust program
38853885
that demonstrates all four of them:
38863886

38873887
~~~~
3888-
#[feature(phase)];
3889-
#[phase(syntax, link)] extern crate log;
3890-
38913888
fn main() {
38923889
error!("This is an error log")
38933890
warn!("This is a warn log")

branches/try2/src/doc/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ unit, `()`, as the empty tuple if you like).
796796
~~~~
797797
let mytup: (int, int, f64) = (10, 20, 30.0);
798798
match mytup {
799-
(a, b, c) => println!("{}", a + b + (c as int))
799+
(a, b, c) => info!("{}", a + b + (c as int))
800800
}
801801
~~~~
802802

@@ -813,7 +813,7 @@ For example:
813813
struct MyTup(int, int, f64);
814814
let mytup: MyTup = MyTup(10, 20, 30.0);
815815
match mytup {
816-
MyTup(a, b, c) => println!("{}", a + b + (c as int))
816+
MyTup(a, b, c) => info!("{}", a + b + (c as int))
817817
}
818818
~~~~
819819

@@ -1794,7 +1794,7 @@ use std::task::spawn;
17941794
17951795
// proc is the closure which will be spawned.
17961796
spawn(proc() {
1797-
println!("I'm a new task")
1797+
debug!("I'm a new task")
17981798
});
17991799
~~~~
18001800

branches/try2/src/libarena/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
#[crate_type = "rlib"];
2020
#[crate_type = "dylib"];
2121
#[license = "MIT/ASL2"];
22-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
23-
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
24-
html_root_url = "http://static.rust-lang.org/doc/master")];
2522
#[allow(missing_doc)];
2623
#[feature(managed_boxes)];
2724
#[allow(deprecated_owned_vector)];

branches/try2/src/libcollections/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@
1616
#[crate_type = "rlib"];
1717
#[crate_type = "dylib"];
1818
#[license = "MIT/ASL2"];
19-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
20-
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
21-
html_root_url = "http://static.rust-lang.org/doc/master")];
2219

23-
#[feature(macro_rules, managed_boxes, default_type_params, phase)];
20+
#[feature(macro_rules, managed_boxes, default_type_params)];
2421

2522
// NOTE remove the following two attributes after the next snapshot.
2623
#[allow(unrecognized_lint)];
@@ -30,7 +27,6 @@
3027
extern crate rand;
3128

3229
#[cfg(test)] extern crate test;
33-
#[cfg(test)] #[phase(syntax, link)] extern crate log;
3430

3531
pub use bitv::Bitv;
3632
pub use btree::BTree;

branches/try2/src/libflate/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ Simple compression
1818
#[crate_type = "rlib"];
1919
#[crate_type = "dylib"];
2020
#[license = "MIT/ASL2"];
21-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
22-
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
23-
html_root_url = "http://static.rust-lang.org/doc/master")];
24-
#[feature(phase)];
25-
26-
#[cfg(test)] #[phase(syntax, link)] extern crate log;
2721

2822
use std::libc::{c_void, size_t, c_int};
2923
use std::libc;

branches/try2/src/libfourcc/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ fn main() {
4343
#[crate_type = "rlib"];
4444
#[crate_type = "dylib"];
4545
#[license = "MIT/ASL2"];
46-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
47-
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
48-
html_root_url = "http://static.rust-lang.org/doc/master")];
4946

5047
#[feature(macro_registrar, managed_boxes)];
5148

branches/try2/src/libgetopts/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,10 @@
8080
#[crate_type = "rlib"];
8181
#[crate_type = "dylib"];
8282
#[license = "MIT/ASL2"];
83-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
84-
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
85-
html_root_url = "http://static.rust-lang.org/doc/master")];
8683
#[allow(missing_doc)];
8784
#[allow(deprecated_owned_vector)];
8885

89-
#[feature(globs, phase)];
90-
91-
#[cfg(test)] #[phase(syntax, link)] extern crate log;
86+
#[feature(globs)];
9287

9388
use std::cmp::Eq;
9489
use std::result::{Err, Ok};

branches/try2/src/libglob/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
#[crate_type = "rlib"];
2828
#[crate_type = "dylib"];
2929
#[license = "MIT/ASL2"];
30-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
31-
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
32-
html_root_url = "http://static.rust-lang.org/doc/master")];
3330
#[allow(deprecated_owned_vector)];
3431

3532
use std::cell::Cell;

branches/try2/src/libgreen/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,10 @@
172172
html_root_url = "http://static.rust-lang.org/doc/master")];
173173

174174
// NB this does *not* include globs, please keep it that way.
175-
#[feature(macro_rules, phase)];
175+
#[feature(macro_rules)];
176176
#[allow(visible_private_types)];
177177
#[allow(deprecated_owned_vector)];
178178

179-
#[cfg(test)] #[phase(syntax, link)] extern crate log;
180179
extern crate rand;
181180

182181
use std::mem::replace;

branches/try2/src/libgreen/task.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,14 @@ impl GreenTask {
178178
f: proc()) -> ~GreenTask {
179179
let TaskOpts {
180180
notify_chan, name, stack_size,
181-
stderr, stdout,
181+
stderr, stdout, logger,
182182
} = opts;
183183

184184
let mut green = GreenTask::new(pool, stack_size, f);
185185
{
186186
let task = green.task.get_mut_ref();
187187
task.name = name;
188+
task.logger = logger;
188189
task.stderr = stderr;
189190
task.stdout = stdout;
190191
match notify_chan {

branches/try2/src/libhexfloat/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ fn main() {
4040
#[crate_type = "rlib"];
4141
#[crate_type = "dylib"];
4242
#[license = "MIT/ASL2"];
43-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
44-
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
45-
html_root_url = "http://static.rust-lang.org/doc/master")];
4643

4744
#[feature(macro_registrar, managed_boxes)];
4845

branches/try2/src/liblog/directive.rs

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)