1[package] 2name = "rustc-main" 3version = "0.0.0" 4edition = "2021" 5 6[dependencies] 7rustc_driver = { path = "../rustc_driver" } 8rustc_driver_impl = { path = "../rustc_driver_impl" } 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. 12rustc_codegen_ssa = { path = "../rustc_codegen_ssa" } 13# Make sure rustc_smir ends up in the sysroot, because this 14# crate is intended to be used by stable MIR consumers, which are not in-tree 15rustc_smir = { path = "../rustc_smir" } 16 17[dependencies.jemalloc-sys] 18version = "0.5.0" 19optional = true 20features = ['unprefixed_malloc_on_supported_platforms'] 21 22[features] 23jemalloc = ['jemalloc-sys'] 24llvm = ['rustc_driver_impl/llvm'] 25max_level_info = ['rustc_driver_impl/max_level_info'] 26rustc_use_parallel_compiler = ['rustc_driver_impl/rustc_use_parallel_compiler'] 27