]>
Commit | Line | Data |
---|---|---|
7453a54e SL |
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 | ||
7453a54e SL |
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] | |
7453a54e SL |
26 | rustc_back = { path = "../librustc_back" } |
27 | rustc_driver = { path = "../librustc_driver" } | |
54a0048b | 28 | rustdoc = { path = "../librustdoc" } |
7453a54e SL |
29 | |
30 | [features] | |
31 | jemalloc = ["rustc_back/jemalloc"] |