mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +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.
37 lines
1.2 KiB
TOML
37 lines
1.2 KiB
TOML
[package]
|
|
name = "rustc_builtin_macros"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(llvm_enzyme)'] }
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
# tidy-alphabetical-start
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
|
|
rustc_attr_parsing = { path = "../rustc_attr_parsing" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
rustc_expand = { path = "../rustc_expand" }
|
|
rustc_feature = { path = "../rustc_feature" }
|
|
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
|
rustc_hir = { path = "../rustc_hir" }
|
|
rustc_index = { path = "../rustc_index" }
|
|
rustc_lexer = { path = "../rustc_lexer" }
|
|
rustc_lint_defs = { path = "../rustc_lint_defs" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_parse = { path = "../rustc_parse" }
|
|
rustc_parse_format = { path = "../rustc_parse_format" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_target = { path = "../rustc_target" }
|
|
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
|
thin-vec = "0.2.12"
|
|
tracing = "0.1"
|
|
# tidy-alphabetical-end
|