2015-11-19 17:20:12 -06:00
|
|
|
[package]
|
|
|
|
name = "rustc-main"
|
|
|
|
version = "0.0.0"
|
2021-09-19 11:49:55 -05:00
|
|
|
edition = "2021"
|
2015-11-19 17:20:12 -06:00
|
|
|
|
|
|
|
[dependencies]
|
2023-10-19 21:37:29 -05:00
|
|
|
# tidy-alphabetical-start
|
2018-10-20 21:15:06 -05:00
|
|
|
|
2018-11-19 11:28:44 -06:00
|
|
|
# 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" }
|
2023-10-19 21:37:29 -05:00
|
|
|
|
|
|
|
rustc_driver = { path = "../rustc_driver" }
|
|
|
|
rustc_driver_impl = { path = "../rustc_driver_impl" }
|
|
|
|
|
2022-06-02 05:08:38 -05:00
|
|
|
# Make sure rustc_smir ends up in the sysroot, because this
|
2023-10-19 21:37:29 -05:00
|
|
|
# crate is intended to be used by stable MIR consumers, which are not in-tree.
|
2022-06-02 05:08:38 -05:00
|
|
|
rustc_smir = { path = "../rustc_smir" }
|
2023-10-19 21:37:29 -05:00
|
|
|
|
2023-09-14 10:50:11 -05:00
|
|
|
stable_mir = { path = "../stable_mir" }
|
2023-10-19 21:37:29 -05:00
|
|
|
# tidy-alphabetical-end
|
2018-11-19 11:28:44 -06:00
|
|
|
|
2022-05-06 16:20:04 -05:00
|
|
|
[dependencies.jemalloc-sys]
|
|
|
|
version = "0.5.0"
|
2018-12-19 10:27:23 -06:00
|
|
|
optional = true
|
|
|
|
features = ['unprefixed_malloc_on_supported_platforms']
|
|
|
|
|
2018-10-20 21:15:06 -05:00
|
|
|
[features]
|
2023-10-19 21:37:29 -05:00
|
|
|
# tidy-alphabetical-start
|
2024-07-15 11:40:06 -05:00
|
|
|
jemalloc = ['dep:jemalloc-sys']
|
2023-02-02 00:17:46 -06:00
|
|
|
llvm = ['rustc_driver_impl/llvm']
|
|
|
|
max_level_info = ['rustc_driver_impl/max_level_info']
|
2022-09-02 13:17:20 -05:00
|
|
|
rustc_randomized_layouts = ['rustc_driver_impl/rustc_randomized_layouts']
|
2023-02-02 00:17:46 -06:00
|
|
|
rustc_use_parallel_compiler = ['rustc_driver_impl/rustc_use_parallel_compiler']
|
2023-10-19 21:37:29 -05:00
|
|
|
# tidy-alphabetical-end
|