Manual merge of #22475 - alexcrichton:rollup, r=alexcrichton

One windows bot failed spuriously.
This commit is contained in:
Huon Wilson 2015-02-18 23:50:21 +11:00
commit dfc5c0f1e8
381 changed files with 6886 additions and 3250 deletions

View file

@ -13,8 +13,8 @@
#![feature(box_syntax)]
#![feature(collections)]
#![feature(int_uint)]
#![feature(io)]
#![feature(path)]
#![feature(old_io)]
#![feature(old_path)]
#![feature(rustc_private)]
#![feature(unboxed_closures)]
#![feature(std_misc)]

View file

@ -35,7 +35,7 @@ use std::env;
use std::iter::repeat;
use std::str;
use std::string::String;
use std::thread::Thread;
use std::thread;
use std::time::Duration;
use test::MetricMap;
@ -458,7 +458,7 @@ fn run_debuginfo_gdb_test(config: &Config, props: &TestProps, testfile: &Path) {
loop {
//waiting 1 second for gdbserver start
timer::sleep(Duration::milliseconds(1000));
let result = Thread::scoped(move || {
let result = thread::spawn(move || {
tcp::TcpStream::connect("127.0.0.1:5039").unwrap();
}).join();
if result.is_err() {