]> git.lizzy.rs Git - rust.git/blob - compiler/rustc/Cargo.toml
Rollup merge of #103610 - wesleywiser:thinlto_cgu1, r=michaelwoerister
[rust.git] / compiler / rustc / Cargo.toml
1 [package]
2 name = "rustc-main"
3 version = "0.0.0"
4 edition = "2021"
5
6 [dependencies]
7 rustc_driver = { path = "../rustc_driver" }
8
9 # Make sure rustc_codegen_ssa ends up in the sysroot, because this
10 # crate is intended to be used by codegen backends, which may not be in-tree.
11 rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
12 # Make sure rustc_smir ends up in the sysroot, because this
13 # crate is intended to be used by stable MIR consumers, which are not in-tree
14 rustc_smir = { path = "../rustc_smir" }
15
16 [dependencies.jemalloc-sys]
17 version = "0.5.0"
18 optional = true
19 features = ['unprefixed_malloc_on_supported_platforms']
20
21 [features]
22 jemalloc = ['jemalloc-sys']
23 llvm = ['rustc_driver/llvm']
24 max_level_info = ['rustc_driver/max_level_info']
25 rustc_use_parallel_compiler = ['rustc_driver/rustc_use_parallel_compiler']