]> git.lizzy.rs Git - rust.git/blob - compiler/rustc/Cargo.toml
Add a new `rustc_driver` dylib to rexport `rustc_driver_impl`
[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 rustc_driver_impl = { path = "../rustc_driver_impl" }
9
10 # Make sure rustc_codegen_ssa ends up in the sysroot, because this
11 # crate is intended to be used by codegen backends, which may not be in-tree.
12 rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
13 # Make sure rustc_smir ends up in the sysroot, because this
14 # crate is intended to be used by stable MIR consumers, which are not in-tree
15 rustc_smir = { path = "../rustc_smir" }
16
17 [dependencies.jemalloc-sys]
18 version = "0.5.0"
19 optional = true
20 features = ['unprefixed_malloc_on_supported_platforms']
21
22 [features]
23 jemalloc = ['jemalloc-sys']
24 llvm = ['rustc_driver_impl/llvm']
25 max_level_info = ['rustc_driver_impl/max_level_info']
26 rustc_use_parallel_compiler = ['rustc_driver_impl/rustc_use_parallel_compiler']