diff options
| author | bors <bors@rust-lang.org> | 2013-07-27 01:49:35 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-27 01:49:35 -0700 |
| commit | 15310ba7c2a930a26bf6104f336cf7220eec7dc7 (patch) | |
| tree | e85d3a47641c3a9f00364996647626f882501c1b /src/libstd/rt/test.rs | |
| parent | c5194740a78ec113cb6cbc937e7263e2548f62f6 (diff) | |
| parent | df67942dccc33379051e66f075615e579f3bdb49 (diff) | |
auto merge of #8040 : luqmana/rust/rtn, r=brson
Implements various missing tcp & udp methods.. Also fixes handling ipv4-mapped/compatible ipv6 addresses and addresses the XXX on `status_to_maybe_uv_error`. r? @brson
Diffstat (limited to 'src/libstd/rt/test.rs')
| -rw-r--r-- | src/libstd/rt/test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/test.rs b/src/libstd/rt/test.rs index a9cbc6dae31..feae8b5ffd8 100644 --- a/src/libstd/rt/test.rs +++ b/src/libstd/rt/test.rs @@ -50,7 +50,7 @@ pub fn run_in_newsched_task(f: ~fn()) { let on_exit: ~fn(bool) = |exit_status| rtassert!(exit_status); let mut task = ~Task::new_root(&mut sched.stack_pool, f.take()); - rtdebug!("newsched_task: %x", to_uint(task)); + rtdebug!("newsched_task: %x", ::borrow::to_uint(task)); task.death.on_exit = Some(on_exit); sched.enqueue_task(task); sched.run(); @@ -145,7 +145,7 @@ pub fn spawntask(f: ~fn()) { } }; - rtdebug!("new task pointer: %x", to_uint(task)); + rtdebug!("new task pointer: %x", ::borrow::to_uint(task)); let sched = Local::take::<Scheduler>(); rtdebug!("spawntask scheduling the new task"); |
