
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 commit48caf81484
, reversing changes made toc6662879b2
.
23 lines
548 B
TOML
23 lines
548 B
TOML
[package]
|
|
name = "rustc_index"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
# tidy-alphabetical-start
|
|
rustc_index_macros = { path = "../rustc_index_macros" }
|
|
rustc_macros = { path = "../rustc_macros", optional = true }
|
|
rustc_serialize = { path = "../rustc_serialize", optional = true }
|
|
smallvec = "1.8.1"
|
|
# tidy-alphabetical-end
|
|
|
|
[features]
|
|
# tidy-alphabetical-start
|
|
default = ["nightly"]
|
|
nightly = [
|
|
"dep:rustc_serialize",
|
|
"dep:rustc_macros",
|
|
"rustc_index_macros/nightly",
|
|
]
|
|
rustc_randomized_layouts = []
|
|
# tidy-alphabetical-end
|