extra: Put the nail in the coffin, delete libextra

This commit shreds all remnants of libextra from the compiler and standard
distribution. Two modules, c_vec/tempfile, were moved into libstd after some
cleanup, and the other modules were moved to separate crates as seen fit.

Closes #8784
Closes #12413
Closes #12576
This commit is contained in:
Alex Crichton 2014-03-14 11:16:10 -07:00
parent e99d523707
commit 58e4ab2b33
158 changed files with 315 additions and 873 deletions

View file

@ -19,7 +19,6 @@
extern crate syntax;
extern crate rustc;
extern crate extra;
extern crate serialize;
extern crate sync;
extern crate getopts;

View file

@ -11,14 +11,13 @@
use std::cell::RefCell;
use std::char;
use std::io;
use std::io::Process;
use std::io::{Process, TempDir};
use std::local_data;
use std::os;
use std::str;
use collections::HashSet;
use testing;
use extra::tempfile::TempDir;
use rustc::back::link;
use rustc::driver::driver;
use rustc::driver::session;
@ -178,9 +177,6 @@ fn maketest(s: &str, cratename: &str, loose_feature_gating: bool) -> ~str {
}
if !s.contains("extern crate") {
if s.contains("extra") {
prog.push_str("extern crate extra;\n");
}
if s.contains(cratename) {
prog.push_str(format!("extern crate {};\n", cratename));
}