about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-08-27 22:13:29 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-08-28 20:12:16 +1000
commit42359b7026dbb4b68b3415582fabd8def56d6a8e (patch)
tree4dd55420acb26d76228a3e6d3f8c51b3050e0596
parent8fc0813e292e9772f28462a57f51f79a24c63774 (diff)
downloadrust-42359b7026dbb4b68b3415582fabd8def56d6a8e.tar.gz
rust-42359b7026dbb4b68b3415582fabd8def56d6a8e.zip
Add `scoped-tls` to `[workspace.dependencies]`.
-rw-r--r--Cargo.toml1
-rw-r--r--compiler/rustc_public/Cargo.toml2
-rw-r--r--compiler/rustc_span/Cargo.toml2
-rw-r--r--compiler/rustc_thread_pool/Cargo.toml2
4 files changed, 4 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 94464439df8..378aa5ada2f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -76,6 +76,7 @@ quote = "1.0.40"
 rustc-hash = "2.1.1"
 rustc-literal-escaper = "0.0.5"
 rustc_apfloat = "0.2.3"
+scoped-tls = "1.0.1"
 serde_json = "1.0.142"
 tempfile = "3.20.0"
 thin-vec = "0.2.14"
diff --git a/compiler/rustc_public/Cargo.toml b/compiler/rustc_public/Cargo.toml
index 71d339b5792..e67e4fe6739 100644
--- a/compiler/rustc_public/Cargo.toml
+++ b/compiler/rustc_public/Cargo.toml
@@ -12,7 +12,7 @@ rustc_public_bridge = { path = "../rustc_public_bridge" }
 rustc_session = { path = "../rustc_session" }
 rustc_span = { path = "../rustc_span" }
 rustc_target = { path = "../rustc_target" }
-scoped-tls = "1.0"
+scoped-tls.workspace = true
 serde = { version = "1.0.125", features = [ "derive" ] }
 tracing.workspace = true
 # tidy-alphabetical-end
diff --git a/compiler/rustc_span/Cargo.toml b/compiler/rustc_span/Cargo.toml
index 6283e47e1fe..da6f2101d23 100644
--- a/compiler/rustc_span/Cargo.toml
+++ b/compiler/rustc_span/Cargo.toml
@@ -16,7 +16,7 @@ rustc_hashes = { path = "../rustc_hashes" }
 rustc_index = { path = "../rustc_index" }
 rustc_macros = { path = "../rustc_macros" }
 rustc_serialize = { path = "../rustc_serialize" }
-scoped-tls = "1.0"
+scoped-tls.workspace = true
 sha1 = "0.10.0"
 sha2 = "0.10.1"
 tracing.workspace = true
diff --git a/compiler/rustc_thread_pool/Cargo.toml b/compiler/rustc_thread_pool/Cargo.toml
index 3eafb308192..8e8c6469512 100644
--- a/compiler/rustc_thread_pool/Cargo.toml
+++ b/compiler/rustc_thread_pool/Cargo.toml
@@ -20,7 +20,7 @@ smallvec = "1.8.1"
 [dev-dependencies]
 rand = "0.9"
 rand_xorshift = "0.4"
-scoped-tls = "1.0"
+scoped-tls.workspace = true
 
 [target.'cfg(unix)'.dev-dependencies]
 libc.workspace = true