]> git.lizzy.rs Git - rust.git/blob - compiler/rustc/Cargo.toml
Rollup merge of #89025 - ricobbe:raw-dylib-link-ordinal, 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
13 [dependencies.tikv-jemalloc-sys]
14 version = '0.4.0'
15 optional = true
16 features = ['unprefixed_malloc_on_supported_platforms']
17
18 [dependencies.tikv-jemallocator]
19 version = '0.4.0'
20 optional = true
21
22 [features]
23 jemalloc = ['tikv-jemalloc-sys', 'tikv-jemallocator']
24 llvm = ['rustc_driver/llvm']
25 max_level_info = ['rustc_driver/max_level_info']