mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-15 21:12:00 +00:00
Revert <https://github.com/rust-lang/rust/pull/138084> to buy time to consider options that avoids breaking downstream usages of cargo on distributed `rustc-src` artifacts, where such cargo invocations fail due to inability to inherit `lints` from workspace root manifest's `workspace.lints` (this is only valid for the source rust-lang/rust workspace, but not really the distributed `rustc-src` artifacts). This breakage was reported in <https://github.com/rust-lang/rust/issues/138304>. This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing changes made to c6662879b27f5161e95f39395e3c9513a7b97028.
35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
[package]
|
|
name = "rustc-main"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
# tidy-alphabetical-start
|
|
|
|
# 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" }
|
|
|
|
rustc_driver = { path = "../rustc_driver" }
|
|
rustc_driver_impl = { path = "../rustc_driver_impl" }
|
|
|
|
# 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" }
|
|
|
|
stable_mir = { path = "../stable_mir" }
|
|
# tidy-alphabetical-end
|
|
|
|
[dependencies.tikv-jemalloc-sys]
|
|
version = "0.6.0"
|
|
optional = true
|
|
features = ['unprefixed_malloc_on_supported_platforms']
|
|
|
|
[features]
|
|
# tidy-alphabetical-start
|
|
jemalloc = ['dep:tikv-jemalloc-sys']
|
|
llvm = ['rustc_driver_impl/llvm']
|
|
max_level_info = ['rustc_driver_impl/max_level_info']
|
|
rustc_randomized_layouts = ['rustc_driver_impl/rustc_randomized_layouts']
|
|
# tidy-alphabetical-end
|