Skip to content

Commit cf62964

Browse files
committed
---
yaml --- r: 47869 b: refs/heads/incoming c: ab784b7 h: refs/heads/master i: 47867: 91c3d02 v: v3
1 parent 9e322c3 commit cf62964

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 9dae4cf1f0f2fd82ee653d89abc46d349b6e6caa
9+
refs/heads/incoming: ab784b7de522c358e682e00c3a01d44d32c56943
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libcore/core.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ pub const debug : u32 = 4_u32;
225225
// The runtime interface used by the compiler
226226
#[cfg(notest)] pub mod rt;
227227
// The runtime and compiler interface to fmt!
228+
#[cfg(stage0)]
229+
#[path = "private/extfmt.rs"]
228230
pub mod extfmt;
229231
// Private APIs
230232
pub mod private;

branches/incoming/src/libcore/prelude.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ pub use char;
5252
pub use cmp;
5353
pub use dvec;
5454
pub use either;
55-
pub use extfmt;
5655
pub use f32;
5756
pub use f64;
5857
pub use float;

branches/incoming/src/libcore/private.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ pub mod weak_task;
3434
pub mod exchange_alloc;
3535
#[path = "private/intrinsics.rs"]
3636
pub mod intrinsics;
37+
#[path = "private/extfmt.rs"]
38+
pub mod extfmt;
3739

3840
extern mod rustrt {
3941
pub unsafe fn rust_create_little_lock() -> rust_little_lock;
@@ -493,7 +495,7 @@ pub mod tests {
493495
res.recv();
494496
}
495497
496-
#[test] #[should_fail] #[ignore(cfg(windows))]
498+
#[test] #[should_fail] #[ignore(reason = "random red")]
497499
pub fn exclusive_unwrap_conflict() {
498500
let x = exclusive(~~"hello");
499501
let x2 = ~mut Some(x.clone());
@@ -505,8 +507,7 @@ pub mod tests {
505507
}
506508
assert unwrap_exclusive(x) == ~~"hello";
507509
let res = option::swap_unwrap(&mut res);
508-
// See #4689 for why this can't be just "res.recv()".
509-
assert res.recv() == task::Success;
510+
res.recv();
510511
}
511512
512513
#[test] #[ignore(cfg(windows))]

branches/incoming/src/libsyntax/ext/fmt.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use codemap::span;
2323
use ext::base::*;
2424
use ext::base;
2525
use ext::build::*;
26-
use extfmt::ct::*;
26+
use private::extfmt::ct::*;
2727

2828
pub fn expand_syntax_ext(cx: ext_ctxt, sp: span, tts: ~[ast::token_tree])
2929
-> base::MacResult {
@@ -56,8 +56,8 @@ fn pieces_to_expr(cx: ext_ctxt, sp: span,
5656
-> @ast::expr {
5757
fn make_path_vec(cx: ext_ctxt, ident: @~str) -> ~[ast::ident] {
5858
let intr = cx.parse_sess().interner;
59-
return ~[intr.intern(@~"extfmt"), intr.intern(@~"rt"),
60-
intr.intern(ident)];
59+
return ~[intr.intern(@~"private"), intr.intern(@~"extfmt"),
60+
intr.intern(@~"rt"), intr.intern(ident)];
6161
}
6262
fn make_rt_path_expr(cx: ext_ctxt, sp: span, nm: @~str) -> @ast::expr {
6363
let path = make_path_vec(cx, nm);

0 commit comments

Comments
 (0)