1
Fork 0

Clean up rustc_*/Cargo.toml.

- Sort dependencies and features sections.
- Add `tidy` markers to the sorted sections so they stay sorted.
- Remove empty `[lib`] sections.
- Remove "See more keys..." comments.

Excluded files:
- rustc_codegen_{cranelift,gcc}, because they're external.
- rustc_lexer, because it has external use.
- stable_mir, because it has external use.
This commit is contained in:
Nicholas Nethercote 2023-10-20 13:37:29 +11:00
parent 28e60de487
commit 8ff624a9f2
64 changed files with 407 additions and 306 deletions

View file

@ -3,8 +3,6 @@ name = "rustc_driver_impl"
version = "0.0.0"
edition = "2021"
[lib]
[dependencies]
# tidy-alphabetical-start
rustc_ast = { path = "../rustc_ast" }
@ -57,7 +55,9 @@ tracing = { version = "0.1.35" }
# tidy-alphabetical-end
[target.'cfg(unix)'.dependencies]
# tidy-alphabetical-start
libc = "0.2"
# tidy-alphabetical-end
[target.'cfg(windows)'.dependencies.windows]
version = "0.48.0"
@ -66,6 +66,7 @@ features = [
]
[features]
# tidy-alphabetical-start
llvm = ['rustc_interface/llvm']
max_level_info = ['rustc_log/max_level_info']
rustc_use_parallel_compiler = [
@ -73,3 +74,4 @@ rustc_use_parallel_compiler = [
'rustc_interface/rustc_use_parallel_compiler',
'rustc_middle/rustc_use_parallel_compiler'
]
# tidy-alphabetical-end