Skip to content

Commit 777e2d6

Browse files
committed
Add thin-vec to newly added [workspace.dependencies].
1 parent 176d8db commit 777e2d6

File tree

19 files changed

+23
-18
lines changed

19 files changed

+23
-18
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ exclude = [
5959
"obj",
6060
]
6161

62+
[workspace.dependencies]
63+
# tidy-alphabetical-start
64+
thin-vec = "0.2.14"
65+
# tidy-alphabetical-end
66+
6267
[profile.release.package.rustc_thread_pool]
6368
# The rustc fork of Rayon has deadlock detection code which intermittently
6469
# causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227)

compiler/rustc_ast/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ rustc_macros = { path = "../rustc_macros" }
1515
rustc_serialize = { path = "../rustc_serialize" }
1616
rustc_span = { path = "../rustc_span" }
1717
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
18-
thin-vec = "0.2.12"
18+
thin-vec.workspace = true
1919
tracing = "0.1"
2020
# tidy-alphabetical-end

compiler/rustc_ast_lowering/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ rustc_session = { path = "../rustc_session" }
2424
rustc_span = { path = "../rustc_span" }
2525
rustc_target = { path = "../rustc_target" }
2626
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
27-
thin-vec = "0.2.12"
27+
thin-vec.workspace = true
2828
tracing = "0.1"
2929
# tidy-alphabetical-end

compiler/rustc_ast_passes/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ rustc_macros = { path = "../rustc_macros" }
1818
rustc_session = { path = "../rustc_session" }
1919
rustc_span = { path = "../rustc_span" }
2020
rustc_target = { path = "../rustc_target" }
21-
thin-vec = "0.2.12"
21+
thin-vec.workspace = true
2222
# tidy-alphabetical-end

compiler/rustc_ast_pretty/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ rustc_span = { path = "../rustc_span" }
1313

1414
[dev-dependencies]
1515
# tidy-alphabetical-start
16-
thin-vec = "0.2.12"
16+
thin-vec.workspace = true
1717
# tidy-alphabetical-end

compiler/rustc_attr_parsing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ rustc_macros = { path = "../rustc_macros" }
1717
rustc_parse = { path = "../rustc_parse" }
1818
rustc_session = { path = "../rustc_session" }
1919
rustc_span = { path = "../rustc_span" }
20-
thin-vec = "0.2.12"
20+
thin-vec.workspace = true
2121
# tidy-alphabetical-end

compiler/rustc_builtin_macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ rustc_session = { path = "../rustc_session" }
3030
rustc_span = { path = "../rustc_span" }
3131
rustc_target = { path = "../rustc_target" }
3232
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
33-
thin-vec = "0.2.12"
33+
thin-vec.workspace = true
3434
tracing = "0.1"
3535
# tidy-alphabetical-end

compiler/rustc_codegen_ssa/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ rustc_trait_selection = { path = "../rustc_trait_selection" }
4040
serde_json = "1.0.59"
4141
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
4242
tempfile = "3.2"
43-
thin-vec = "0.2.12"
43+
thin-vec.workspace = true
4444
thorin-dwp = "0.9"
4545
tracing = "0.1"
4646
wasm-encoder = "0.219"

compiler/rustc_data_structures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rustc_thread_pool = { path = "../rustc_thread_pool" }
2525
smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
2626
stacker = "0.1.17"
2727
tempfile = "3.2"
28-
thin-vec = "0.2.12"
28+
thin-vec.workspace = true
2929
tracing = "0.1"
3030
# tidy-alphabetical-end
3131

compiler/rustc_expand/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ rustc_serialize = { path = "../rustc_serialize" }
2929
rustc_session = { path = "../rustc_session" }
3030
rustc_span = { path = "../rustc_span" }
3131
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
32-
thin-vec = "0.2.12"
32+
thin-vec.workspace = true
3333
tracing = "0.1"
3434
# tidy-alphabetical-end

0 commit comments

Comments
 (0)