Fallout from stabilization

This commit is contained in:
Aaron Turon 2015-02-17 15:10:25 -08:00
parent d8f8f7a58c
commit d0de2b46e9
89 changed files with 578 additions and 558 deletions

View file

@ -365,7 +365,7 @@ fn rust_input(cratefile: &str, externs: core::Externs, matches: &getopts::Matche
let cr = Path::new(cratefile);
info!("starting to run rustc");
let (mut krate, analysis) = std::thread::Thread::scoped(move || {
let (mut krate, analysis) = std::thread::spawn(move || {
use rustc::session::config::Input;
let cr = cr;

View file

@ -15,7 +15,7 @@ use std::old_io::{Command, TempDir};
use std::old_io;
use std::env;
use std::str;
use std::thread::Thread;
use std::thread;
use std::thunk::Thunk;
use std::collections::{HashSet, HashMap};
@ -142,7 +142,7 @@ fn runtest(test: &str, cratename: &str, libs: SearchPaths,
let w1 = old_io::ChanWriter::new(tx);
let w2 = w1.clone();
let old = old_io::stdio::set_stderr(box w1);
Thread::spawn(move || {
thread::spawn(move || {
let mut p = old_io::ChanReader::new(rx);
let mut err = match old {
Some(old) => {