Skip to content

Commit 4348383

Browse files
Noratriebworkingjubilee
authored andcommitted
Update rustc-hash to version 2
This brings in the new algorithm.
1 parent d68c327 commit 4348383

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
@@ -1907,7 +1907,7 @@ dependencies = [
19071907
"anyhow",
19081908
"clap",
19091909
"fs-err",
1910-
"rustc-hash 1.1.0",
1910+
"rustc-hash 2.0.0",
19111911
"rustdoc-json-types",
19121912
"serde",
19131913
"serde_json",
@@ -3514,7 +3514,7 @@ dependencies = [
35143514
"memmap2",
35153515
"parking_lot",
35163516
"portable-atomic",
3517-
"rustc-hash 1.1.0",
3517+
"rustc-hash 2.0.0",
35183518
"rustc-rayon",
35193519
"rustc-stable-hash",
35203520
"rustc_arena",
@@ -4211,7 +4211,7 @@ dependencies = [
42114211
name = "rustc_pattern_analysis"
42124212
version = "0.0.0"
42134213
dependencies = [
4214-
"rustc-hash 1.1.0",
4214+
"rustc-hash 2.0.0",
42154215
"rustc_apfloat",
42164216
"rustc_arena",
42174217
"rustc_data_structures",
@@ -4609,7 +4609,7 @@ name = "rustdoc-json-types"
46094609
version = "0.1.0"
46104610
dependencies = [
46114611
"bincode",
4612-
"rustc-hash 1.1.0",
4612+
"rustc-hash 2.0.0",
46134613
"serde",
46144614
"serde_json",
46154615
]
@@ -5239,7 +5239,7 @@ dependencies = [
52395239
"ignore",
52405240
"miropt-test-tools",
52415241
"regex",
5242-
"rustc-hash 1.1.0",
5242+
"rustc-hash 2.0.0",
52435243
"semver",
52445244
"similar",
52455245
"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
@@ -11,7 +11,7 @@ default = ["rustc-hash"]
1111

1212
[dependencies]
1313
serde = { version = "1.0", features = ["derive"] }
14-
rustc-hash = { version = "1.1.0", optional = true }
14+
rustc-hash = { version = "2.0", optional = true }
1515

1616
[dev-dependencies]
1717
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)