Skip to content

Commit 184cfb9

Browse files
committed
Update rustc-hash to version 2
This brings in the new algorithm.
1 parent 3a85d3f commit 184cfb9

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

Cargo.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ dependencies = [
19151915
"anyhow",
19161916
"clap",
19171917
"fs-err",
1918-
"rustc-hash 1.1.0",
1918+
"rustc-hash 2.0.0",
19191919
"rustdoc-json-types",
19201920
"serde",
19211921
"serde_json",
@@ -3532,7 +3532,7 @@ dependencies = [
35323532
"memmap2",
35333533
"parking_lot",
35343534
"portable-atomic",
3535-
"rustc-hash 1.1.0",
3535+
"rustc-hash 2.0.0",
35363536
"rustc-rayon",
35373537
"rustc-stable-hash",
35383538
"rustc_arena",
@@ -4229,7 +4229,7 @@ dependencies = [
42294229
name = "rustc_pattern_analysis"
42304230
version = "0.0.0"
42314231
dependencies = [
4232-
"rustc-hash 1.1.0",
4232+
"rustc-hash 2.0.0",
42334233
"rustc_apfloat",
42344234
"rustc_arena",
42354235
"rustc_data_structures",
@@ -4632,7 +4632,7 @@ name = "rustdoc-json-types"
46324632
version = "0.1.0"
46334633
dependencies = [
46344634
"bincode",
4635-
"rustc-hash 1.1.0",
4635+
"rustc-hash 2.0.0",
46364636
"serde",
46374637
"serde_json",
46384638
]
@@ -5262,7 +5262,7 @@ dependencies = [
52625262
"ignore",
52635263
"miropt-test-tools",
52645264
"regex",
5265-
"rustc-hash 1.1.0",
5265+
"rustc-hash 2.0.0",
52665266
"semver",
52675267
"similar",
52685268
"termcolor",

compiler/rustc_data_structures/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ena = "0.14.3"
1313
indexmap = { version = "2.4.0" }
1414
jobserver_crate = { version = "0.1.28", package = "jobserver" }
1515
measureme = "11"
16-
rustc-hash = "1.1.0"
16+
rustc-hash = "2.0.0"
1717
rustc-rayon = { version = "0.5.0", optional = true }
1818
rustc-stable-hash = { version = "0.1.0", features = ["nightly"] }
1919
rustc_arena = { path = "../rustc_arena" }

compiler/rustc_pattern_analysis/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
rustc-hash = "1.1.0"
8+
rustc-hash = "2.0.0"
99
rustc_apfloat = "0.2.0"
1010
rustc_arena = { path = "../rustc_arena", optional = true }
1111
rustc_data_structures = { path = "../rustc_data_structures", optional = true }

src/rustdoc-json-types/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ path = "lib.rs"
88

99
[dependencies]
1010
serde = { version = "1.0", features = ["derive"] }
11-
rustc-hash = "1.1.0"
11+
rustc-hash = "2.0.0"
1212

1313
[dev-dependencies]
1414
serde_json = "1.0"

src/tools/jsondoclint/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2021"
99
anyhow = "1.0.62"
1010
clap = { version = "4.0.15", features = ["derive"] }
1111
fs-err = "2.8.1"
12-
rustc-hash = "1.1.0"
12+
rustc-hash = "2.0.0"
1313
rustdoc-json-types = { version = "0.1.0", path = "../../rustdoc-json-types" }
1414
serde = { version = "1.0", features = ["derive"] }
1515
serde_json = "1.0.85"

src/tools/tidy/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ walkdir = "2"
1313
ignore = "0.4.18"
1414
semver = "1.0"
1515
termcolor = "1.1.3"
16-
rustc-hash = "1.1.0"
16+
rustc-hash = "2.0.0"
1717
fluent-syntax = "0.11.1"
1818
similar = "2.5.0"
1919

0 commit comments

Comments
 (0)