Skip to content

Commit cc317ef

Browse files
authored
Rollup merge of rust-lang#58748 - hellow554:scoped_tls, r=estebank
update scoped_tls to 1.0 scoped_tls has been updated to version 1.0 This PR will hopefully merge flawlessly :) This fixes, among others, alexcrichton/scoped-tls#9 Note, that the nightly feature has been removed in alexcrichton/scoped-tls@64bd7b8
2 parents 69120f5 + 56fb287 commit cc317ef

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

Cargo.lock

+10-4
Original file line numberDiff line numberDiff line change
@@ -2381,7 +2381,7 @@ dependencies = [
23812381
"rustc_errors 0.0.0",
23822382
"rustc_fs_util 0.0.0",
23832383
"rustc_target 0.0.0",
2384-
"scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
2384+
"scoped-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
23852385
"serialize 0.0.0",
23862386
"smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)",
23872387
"syntax 0.0.0",
@@ -2726,7 +2726,7 @@ dependencies = [
27262726
"rustc_target 0.0.0",
27272727
"rustc_traits 0.0.0",
27282728
"rustc_typeck 0.0.0",
2729-
"scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
2729+
"scoped-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
27302730
"serialize 0.0.0",
27312731
"smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)",
27322732
"syntax 0.0.0",
@@ -3090,6 +3090,11 @@ name = "scoped-tls"
30903090
version = "0.1.2"
30913091
source = "registry+https://github.com/rust-lang/crates.io-index"
30923092

3093+
[[package]]
3094+
name = "scoped-tls"
3095+
version = "1.0.0"
3096+
source = "registry+https://github.com/rust-lang/crates.io-index"
3097+
30933098
[[package]]
30943099
name = "scoped_threadpool"
30953100
version = "0.1.9"
@@ -3345,7 +3350,7 @@ dependencies = [
33453350
"rustc_data_structures 0.0.0",
33463351
"rustc_errors 0.0.0",
33473352
"rustc_target 0.0.0",
3348-
"scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
3353+
"scoped-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
33493354
"serialize 0.0.0",
33503355
"smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)",
33513356
"syntax_pos 0.0.0",
@@ -3372,7 +3377,7 @@ dependencies = [
33723377
"arena 0.0.0",
33733378
"cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
33743379
"rustc_data_structures 0.0.0",
3375-
"scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
3380+
"scoped-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
33763381
"serialize 0.0.0",
33773382
"unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
33783383
]
@@ -4183,6 +4188,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
41834188
"checksum same-file 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8f20c4be53a8a1ff4c1f1b2bd14570d2f634628709752f0702ecdd2b3f9a5267"
41844189
"checksum schannel 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "0e1a231dc10abf6749cfa5d7767f25888d484201accbd919b66ab5413c502d56"
41854190
"checksum scoped-tls 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "332ffa32bf586782a3efaeb58f127980944bbc8c4d6913a86107ac2a5ab24b28"
4191+
"checksum scoped-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
41864192
"checksum scoped_threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8"
41874193
"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
41884194
"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"

src/librustc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ graphviz = { path = "../libgraphviz" }
1717
jobserver = "0.1"
1818
lazy_static = "1.0.0"
1919
num_cpus = "1.0"
20-
scoped-tls = { version = "0.1.1", features = ["nightly"] }
20+
scoped-tls = "1.0"
2121
log = { version = "0.4", features = ["release_max_level_info", "std"] }
2222
polonius-engine = "0.6.2"
2323
rustc-rayon = "0.1.1"

src/librustc_driver/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ graphviz = { path = "../libgraphviz" }
1414
log = "0.4"
1515
env_logger = { version = "0.5", default-features = false }
1616
rustc-rayon = "0.1.1"
17-
scoped-tls = { version = "0.1.1", features = ["nightly"] }
17+
scoped-tls = "1.0"
1818
rustc = { path = "../librustc" }
1919
rustc_allocator = { path = "../librustc_allocator" }
2020
rustc_target = { path = "../librustc_target" }

src/libsyntax/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ crate-type = ["dylib"]
1313
bitflags = "1.0"
1414
serialize = { path = "../libserialize" }
1515
log = "0.4"
16-
scoped-tls = "0.1"
16+
scoped-tls = "1.0"
1717
syntax_pos = { path = "../libsyntax_pos" }
1818
errors = { path = "../librustc_errors", package = "rustc_errors" }
1919
rustc_data_structures = { path = "../librustc_data_structures" }

src/libsyntax_pos/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ crate-type = ["dylib"]
1313
serialize = { path = "../libserialize" }
1414
rustc_data_structures = { path = "../librustc_data_structures" }
1515
arena = { path = "../libarena" }
16-
scoped-tls = { version = "0.1.1", features = ["nightly"] }
16+
scoped-tls = "1.0"
1717
unicode-width = "0.1.4"
1818
cfg-if = "0.1.2"

0 commit comments

Comments
 (0)