]> git.lizzy.rs Git - rust.git/blob - src/rustc/Cargo.toml
Auto merge of #69482 - lqd:poloniusup, r=nikomatsakis
[rust.git] / src / 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 [[bin]]
8 name = "rustc_binary"
9 path = "rustc.rs"
10
11 [dependencies]
12 rustc_driver = { path = "../librustc_driver" }
13
14 # Make sure rustc_codegen_ssa ends up in the sysroot, because this
15 # crate is intended to be used by codegen backends, which may not be in-tree.
16 rustc_codegen_ssa = { path = "../librustc_codegen_ssa" }
17
18 [dependencies.jemalloc-sys]
19 version = '0.3.0'
20 optional = true
21 features = ['unprefixed_malloc_on_supported_platforms']
22
23 [features]
24 jemalloc = ['jemalloc-sys']
25 llvm = ['rustc_driver/llvm']