mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
26 lines
815 B
TOML
26 lines
815 B
TOML
[package]
|
|
name = "rustc-main"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
rustc_driver = { path = "../rustc_driver" }
|
|
|
|
# Make sure rustc_codegen_ssa ends up in the sysroot, because this
|
|
# crate is intended to be used by codegen backends, which may not be in-tree.
|
|
rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
|
|
# Make sure rustc_smir ends up in the sysroot, because this
|
|
# crate is intended to be used by stable MIR consumers, which are not in-tree
|
|
rustc_smir = { path = "../rustc_smir" }
|
|
|
|
[dependencies.jemalloc-sys]
|
|
version = "0.5.0"
|
|
optional = true
|
|
features = ['unprefixed_malloc_on_supported_platforms']
|
|
|
|
[features]
|
|
jemalloc = ['jemalloc-sys']
|
|
llvm = ['rustc_driver/llvm']
|
|
max_level_info = ['rustc_driver/max_level_info']
|
|
rustc_use_parallel_compiler = ['rustc_driver/rustc_use_parallel_compiler']
|