Skip to content

Commit 8af63d0

Browse files
committed
---
yaml --- r: 46460 b: refs/heads/auto c: ab784b7 h: refs/heads/master v: v3
1 parent 5024fa6 commit 8af63d0

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
@@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 9dae4cf1f0f2fd82ee653d89abc46d349b6e6caa
17+
refs/heads/auto: ab784b7de522c358e682e00c3a01d44d32c56943

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