Skip to content

Commit 18021f0

Browse files
HeroesGravealexcrichton
authored andcommitted
---
yaml --- r: 100799 b: refs/heads/snap-stage3 c: 11b2515 h: refs/heads/master i: 100797: e139450 100795: 8c85334 100791: b01563b 100783: 8ae7686 100767: 891acde 100735: 2bd8997 v: v3
1 parent 327ee3b commit 18021f0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e3b1f3c443c048913e2d573fcc5a9c2be3484a78
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3f54ca1ec4accf75a2897003430776ca9d399748
4+
refs/heads/snap-stage3: 11b2515f0f5a46cfe6ef55b623b028b8dbc59519
55
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/mk/crates.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ DEPS_extra := std term sync serialize getopts collections
6060
DEPS_green := std native:context_switch
6161
DEPS_rustuv := std native:uv native:uv_support
6262
DEPS_native := std
63-
DEPS_syntax := std extra term serialize collections
63+
DEPS_syntax := std term serialize collections
6464
DEPS_rustc := syntax native:rustllvm flate arena serialize sync getopts \
65-
collections
65+
collections extra
6666
DEPS_rustdoc := rustc native:sundown serialize sync getopts collections
6767
DEPS_flate := std native:miniz
6868
DEPS_arena := std collections

branches/snap-stage3/src/librustc/util/common.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use syntax::visit;
1515
use syntax::visit::Visitor;
1616

1717
use std::local_data;
18-
use extra;
18+
use extra::time;
1919

2020
pub fn time<T, U>(do_it: bool, what: &str, u: U, f: |U| -> T) -> T {
2121
local_data_key!(depth: uint);
@@ -24,9 +24,9 @@ pub fn time<T, U>(do_it: bool, what: &str, u: U, f: |U| -> T) -> T {
2424
let old = local_data::get(depth, |d| d.map(|a| *a).unwrap_or(0));
2525
local_data::set(depth, old + 1);
2626

27-
let start = extra::time::precise_time_s();
27+
let start = time::precise_time_s();
2828
let rv = f(u);
29-
let end = extra::time::precise_time_s();
29+
let end = time::precise_time_s();
3030

3131
println!("{}time: {:3.3f} s\t{}", " ".repeat(old), end - start, what);
3232
local_data::set(depth, old);

branches/snap-stage3/src/libsyntax/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This API is completely unstable and subject to change.
3232

3333
#[deny(non_camel_case_types)];
3434

35-
extern mod extra;
35+
#[cfg(test)] extern mod extra;
3636
extern mod serialize;
3737
extern mod term;
3838
extern mod collections;

0 commit comments

Comments
 (0)