Add thin-vec to newly added [workspace.dependencies].

This commit is contained in:
Nicholas Nethercote
2025-08-22 07:04:59 +10:00
parent 176d8dbce6
commit 777e2d6a2a
19 changed files with 23 additions and 18 deletions
+5
View File
@@ -59,6 +59,11 @@ exclude = [
"obj",
]
[workspace.dependencies]
# tidy-alphabetical-start
thin-vec = "0.2.14"
# tidy-alphabetical-end
[profile.release.package.rustc_thread_pool]
# The rustc fork of Rayon has deadlock detection code which intermittently
# causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227)
+1 -1
View File
@@ -15,6 +15,6 @@ rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -24,6 +24,6 @@ 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"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -18,5 +18,5 @@ rustc_macros = { path = "../rustc_macros" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
thin-vec = "0.2.12"
thin-vec.workspace = true
# tidy-alphabetical-end
+1 -1
View File
@@ -13,5 +13,5 @@ rustc_span = { path = "../rustc_span" }
[dev-dependencies]
# tidy-alphabetical-start
thin-vec = "0.2.12"
thin-vec.workspace = true
# tidy-alphabetical-end
+1 -1
View File
@@ -17,5 +17,5 @@ rustc_macros = { path = "../rustc_macros" }
rustc_parse = { path = "../rustc_parse" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
thin-vec = "0.2.12"
thin-vec.workspace = true
# tidy-alphabetical-end
+1 -1
View File
@@ -30,6 +30,6 @@ 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"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -40,7 +40,7 @@ rustc_trait_selection = { path = "../rustc_trait_selection" }
serde_json = "1.0.59"
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tempfile = "3.2"
thin-vec = "0.2.12"
thin-vec.workspace = true
thorin-dwp = "0.9"
tracing = "0.1"
wasm-encoder = "0.219"
+1 -1
View File
@@ -25,7 +25,7 @@ rustc_thread_pool = { path = "../rustc_thread_pool" }
smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
stacker = "0.1.17"
tempfile = "3.2"
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -29,6 +29,6 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -21,6 +21,6 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -19,6 +19,6 @@ rustc_middle = { path = "../rustc_middle" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -18,6 +18,6 @@ rustc_middle = { path = "../rustc_middle" }
rustc_span = { path = "../rustc_span" }
rustc_type_ir = { path = "../rustc_type_ir" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -34,7 +34,7 @@ rustc_target = { path = "../rustc_target" }
rustc_thread_pool = { path = "../rustc_thread_pool" }
rustc_type_ir = { path = "../rustc_type_ir" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -18,7 +18,7 @@ rustc_lexer = { path = "../rustc_lexer" }
rustc_macros = { path = "../rustc_macros" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
unicode-normalization = "0.1.11"
unicode-width = "0.2.0"
+1 -1
View File
@@ -27,6 +27,6 @@ rustc_query_system = { path = "../rustc_query_system" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -8,7 +8,7 @@ edition = "2024"
indexmap = "2.0.0"
rustc_hashes = { path = "../rustc_hashes" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec = "0.2.12"
thin-vec.workspace = true
# tidy-alphabetical-end
[dev-dependencies]
+1 -1
View File
@@ -21,6 +21,6 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_transmute = { path = "../rustc_transmute", features = ["rustc"] }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec = "0.2"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
+1 -1
View File
@@ -19,7 +19,7 @@ rustc_serialize = { path = "../rustc_serialize", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
rustc_type_ir_macros = { path = "../rustc_type_ir_macros" }
smallvec = { version = "1.8.1", default-features = false, features = ["const_generics"] }
thin-vec = "0.2.12"
thin-vec.workspace = true
tracing = "0.1"
# tidy-alphabetical-end