]> git.lizzy.rs Git - rust.git/blob - compiler/rustc/Cargo.toml
Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup
[rust.git] / compiler / rustc / Cargo.toml
1 [package]
2 authors = ["The Rust Project Developers"]
3 name = "rustc-main"
4 version = "0.0.0"
5 edition = '2018'
6
7 [dependencies]
8 rustc_driver = { path = "../rustc_driver" }
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
14 [dependencies.tikv-jemalloc-sys]
15 version = '0.4.0'
16 optional = true
17 features = ['unprefixed_malloc_on_supported_platforms']
18
19 [dependencies.tikv-jemallocator]
20 version = '0.4.0'
21 optional = true
22
23 [features]
24 jemalloc = ['tikv-jemalloc-sys', 'tikv-jemallocator']
25 llvm = ['rustc_driver/llvm']
26 max_level_info = ['rustc_driver/max_level_info']