Skip to content

Commit 1d66eb6

Browse files
HeroesGravealexcrichton
authored andcommitted
---
yaml --- r: 104187 b: refs/heads/try c: 11b2515 h: refs/heads/master i: 104185: 9a90fb4 104183: bbcc0c9 v: v3
1 parent 03543da commit 1d66eb6

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 62f1d68439dcfd509eaca29887afa97f22938373
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5-
refs/heads/try: 3f54ca1ec4accf75a2897003430776ca9d399748
5+
refs/heads/try: 11b2515f0f5a46cfe6ef55b623b028b8dbc59519
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/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/try/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/try/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)