Skip to content

Commit 678166b

Browse files
authored
Unrolled build for #145946
Rollup merge of #145946 - nnethercote:cargo-style, r=jdonszelmann Remove unnecessary `[dependencies.unicode-properties]` entries. The Cargo style guide says to put dependencies on a single line if they fit. r? `@jdonszelmann`
2 parents d36f964 + b4c8fe2 commit 678166b

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

compiler/rustc_data_structures/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ena = "0.14.3"
1313
indexmap = "2.4.0"
1414
jobserver_crate = { version = "0.1.28", package = "jobserver" }
1515
measureme = "12.0.1"
16+
parking_lot = "0.12"
1617
rustc-hash = "2.0.0"
1718
rustc-stable-hash = { version = "0.1.0", features = ["nightly"] }
1819
rustc_arena = { path = "../rustc_arena" }
@@ -34,9 +35,6 @@ version = "0.15.2"
3435
default-features = false
3536
features = ["nightly"] # for may_dangle
3637

37-
[dependencies.parking_lot]
38-
version = "0.12"
39-
4038
[target.'cfg(windows)'.dependencies.windows]
4139
version = "0.61.0"
4240
features = [

compiler/rustc_lexer/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ Rust lexer used by rustc. No stability guarantees are provided.
1515
# Note that this crate purposefully does not depend on other rustc crates
1616
[dependencies]
1717
memchr.workspace = true
18+
unicode-properties = { version = "0.1.0", default-features = false, features = ["emoji"] }
1819
unicode-xid = "0.2.0"
1920

20-
[dependencies.unicode-properties]
21-
version = "0.1.0"
22-
default-features = false
23-
features = ["emoji"]
24-
2521
[dev-dependencies]
2622
expect-test = "1.4.0"

compiler/rustc_target/Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ edition = "2024"
66
[dependencies]
77
# tidy-alphabetical-start
88
bitflags.workspace = true
9+
object = { version = "0.37.0", default-features = false, features = ["elf", "macho"] }
910
rustc_abi = { path = "../rustc_abi" }
1011
rustc_data_structures = { path = "../rustc_data_structures" }
1112
rustc_error_messages = { path = "../rustc_error_messages" }
@@ -20,9 +21,3 @@ serde_path_to_error = "0.1.17"
2021
tracing.workspace = true
2122
# tidy-alphabetical-end
2223

23-
[dependencies.object]
24-
# tidy-alphabetical-start
25-
default-features = false
26-
features = ["elf", "macho"]
27-
version = "0.37.0"
28-
# tidy-alphabetical-end

0 commit comments

Comments
 (0)