rust/compiler/rustc/Cargo.toml

27 lines
884 B
TOML
Raw Normal View History

[package]
name = "rustc-main"
version = "0.0.0"
2021-09-19 11:49:55 -05:00
edition = "2021"
[dependencies]
2020-08-27 22:58:48 -05:00
rustc_driver = { path = "../rustc_driver" }
rustc_driver_impl = { path = "../rustc_driver_impl" }
# 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.
2020-08-27 22:58:48 -05:00
rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
2022-06-02 05:08:38 -05:00
# 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" }
2022-05-06 16:20:04 -05:00
[dependencies.jemalloc-sys]
version = "0.5.0"
optional = true
features = ['unprefixed_malloc_on_supported_platforms']
[features]
2022-05-06 16:20:04 -05:00
jemalloc = ['jemalloc-sys']
llvm = ['rustc_driver_impl/llvm']
max_level_info = ['rustc_driver_impl/max_level_info']
rustc_use_parallel_compiler = ['rustc_driver_impl/rustc_use_parallel_compiler']