about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-10-07 12:26:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-10-08 11:11:00 -0700
commitd17f0b0dd79bbf0cdee8f4b80f91ab53ec5e4328 (patch)
tree2bf8c3f99b61f5bbd3085b20d8bf8ac046aa9a0b /src/tools
parent4344f147aad2ae8ea9c955642f42c812173feb14 (diff)
downloadrust-d17f0b0dd79bbf0cdee8f4b80f91ab53ec5e4328.tar.gz
rust-d17f0b0dd79bbf0cdee8f4b80f91ab53ec5e4328.zip
rustbuild: Optimize build times slightly
As the entry point for building the Rust compiler, a good user experience hinges
on this compiling quickly to get to the meat of the problem. To that end use
`#[cfg]`-specific dependencies to avoid building Windows crates on Unix and drop
the `regex` crate for now which was easily replacable with some string
searching.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/compiletest/Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/compiletest/Cargo.toml b/src/tools/compiletest/Cargo.toml
index 573ee388866..e05d57365f8 100644
--- a/src/tools/compiletest/Cargo.toml
+++ b/src/tools/compiletest/Cargo.toml
@@ -12,5 +12,5 @@ opt-level = 2
 
 [dependencies]
 log = "0.3"
-env_logger = "0.3"
-serialize = { path = "../../libserialize" }
\ No newline at end of file
+env_logger = { version = "0.3.5", default-features = false }
+serialize = { path = "../../libserialize" }