]> git.proxmox.com Git - rustc.git/blob - src/rustc/Cargo.toml
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / rustc / Cargo.toml
1 [package]
2 authors = ["The Rust Project Developers"]
3 name = "rustc-main"
4 version = "0.0.0"
5
6 [[bin]]
7 name = "rustc"
8 path = "rustc.rs"
9
10 [[bin]]
11 name = "rustdoc"
12 path = "rustdoc.rs"
13
14 [profile.release]
15 opt-level = 2
16
17 # These options are controlled from our rustc wrapper script, so turn them off
18 # here and have them controlled elsewhere.
19 [profile.dev]
20 debug = false
21 debug-assertions = false
22
23 # All optional dependencies so the features passed to this Cargo.toml select
24 # what should actually be built.
25 [dependencies]
26 rustc_back = { path = "../librustc_back" }
27 rustc_driver = { path = "../librustc_driver" }
28 rustdoc = { path = "../librustdoc" }
29
30 [features]
31 jemalloc = ["rustc_back/jemalloc"]