diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-03-01 22:00:18 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-03-07 13:05:12 -0800 |
| commit | 0d5cfd9117eabab7d3179277ee6b18bb6efb4f11 (patch) | |
| tree | ad5b2780f0a8ffd52d7e1cfe48a7d2f22b30f6c6 /src/libtest | |
| parent | 2f34986eb0f14b3ce5e17db577abc632a9176380 (diff) | |
| download | rust-0d5cfd9117eabab7d3179277ee6b18bb6efb4f11.tar.gz rust-0d5cfd9117eabab7d3179277ee6b18bb6efb4f11.zip | |
mk: Distribute fewer TARGET_CRATES
Right now everything in TARGET_CRATES is built by default for all non-fulldeps tests and is distributed by default for all target standard library packages. Currenly this includes a number of unstable crates which are rarely used such as `graphviz` and `rbml`> This commit trims down the set of `TARGET_CRATES`, moves a number of tests to `*-fulldeps` as a result, and trims down the dependencies of libtest so we can distribute fewer crates in the `rust-std` packages.
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/libtest/lib.rs | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/libtest/Cargo.toml b/src/libtest/Cargo.toml index 96a84496b9c..ecbd5a9c0f5 100644 --- a/src/libtest/Cargo.toml +++ b/src/libtest/Cargo.toml @@ -11,4 +11,3 @@ crate-type = ["dylib", "rlib"] [dependencies] getopts = { path = "../libgetopts" } term = { path = "../libterm" } -serialize = { path = "../libserialize" } diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 7536ab9c5af..11d2a3e65c8 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -42,8 +42,6 @@ #![feature(staged_api)] extern crate getopts; -extern crate serialize; -extern crate serialize as rustc_serialize; extern crate term; extern crate libc; @@ -56,7 +54,6 @@ use self::NamePadding::*; use self::OutputLocation::*; use stats::Stats; -use serialize::Encodable; use std::boxed::FnBox; use term::Terminal; @@ -215,7 +212,7 @@ pub struct TestDescAndFn { pub testfn: TestFn, } -#[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] +#[derive(Clone, PartialEq, Debug, Copy)] pub struct Metric { value: f64, noise: f64, |
