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.
This commit is contained in:
Alex Crichton 2016-10-07 12:26:45 -07:00
parent 4344f147aa
commit d17f0b0dd7
5 changed files with 32 additions and 115 deletions

View file

@ -12,5 +12,5 @@ opt-level = 2
[dependencies]
log = "0.3"
env_logger = "0.3"
serialize = { path = "../../libserialize" }
env_logger = { version = "0.3.5", default-features = false }
serialize = { path = "../../libserialize" }