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.
36 lines
596 B
TOML
36 lines
596 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "bootstrap"
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
name = "bootstrap"
|
|
path = "lib.rs"
|
|
|
|
[[bin]]
|
|
name = "bootstrap"
|
|
path = "bin/main.rs"
|
|
|
|
[[bin]]
|
|
name = "rustc"
|
|
path = "bin/rustc.rs"
|
|
|
|
[[bin]]
|
|
name = "rustdoc"
|
|
path = "bin/rustdoc.rs"
|
|
|
|
[dependencies]
|
|
build_helper = { path = "../build_helper" }
|
|
cmake = "0.1.17"
|
|
filetime = "0.1"
|
|
num_cpus = "0.2"
|
|
toml = "0.1"
|
|
getopts = "0.2"
|
|
rustc-serialize = "0.3"
|
|
gcc = { git = "https://github.com/alexcrichton/gcc-rs" }
|
|
libc = "0.2"
|
|
md5 = "0.1"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "0.2"
|
|
kernel32-sys = "0.2"
|