Add scoped-tls to [workspace.dependencies].

This commit is contained in:
Nicholas Nethercote 2025-08-27 22:13:29 +10:00
parent 8fc0813e29
commit 42359b7026
4 changed files with 4 additions and 3 deletions

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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