]> git.lizzy.rs Git - rust.git/blob - src/rustc/Cargo.toml
Auto merge of #31541 - tomaka:more-emscripten, r=brson
[rust.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 [[bin]]
15 name = "rustbook"
16 path = "rustbook.rs"
17
18 [profile.release]
19 opt-level = 2
20
21 # These options are controlled from our rustc wrapper script, so turn them off
22 # here and have them controlled elsewhere.
23 [profile.dev]
24 debug = false
25 debug-assertions = false
26
27 # All optional dependencies so the features passed to this Cargo.toml select
28 # what should actually be built.
29 [dependencies]
30 rustbook = { path = "../rustbook", optional = true }
31 rustc_back = { path = "../librustc_back" }
32 rustc_driver = { path = "../librustc_driver" }
33 rustdoc = { path = "../librustdoc", optional = true }
34
35 [features]
36 jemalloc = ["rustc_back/jemalloc"]