Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3b20532

Browse files
committedJan 26, 2025
Auto merge of #136095 - orlp:rustc-hash-folded-multiply-perf, r=<try>
[DO NOT MERGE] perf run for rustc-hash candidate (folded multiply) See rust-lang/rustc-hash#55.
2 parents 15c6f7e + 3a6da61 commit 3b20532

File tree

9 files changed

+20
-15
lines changed

9 files changed

+20
-15
lines changed
 

‎Cargo.lock

+12-7
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ dependencies = [
19821982
"anyhow",
19831983
"clap",
19841984
"fs-err",
1985-
"rustc-hash 2.1.0",
1985+
"rustc-hash 2.1.0 (git+https://github.com/orlp/rustc-hash?rev=3a89863922cb4ba5237a5bef65a9535b3d598663)",
19861986
"rustdoc-json-types",
19871987
"serde",
19881988
"serde_json",
@@ -3151,7 +3151,7 @@ dependencies = [
31513151
"proc-macro2",
31523152
"quote",
31533153
"rinja_parser",
3154-
"rustc-hash 2.1.0",
3154+
"rustc-hash 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
31553155
"serde",
31563156
"syn 2.0.96",
31573157
]
@@ -3219,6 +3219,11 @@ version = "2.1.0"
32193219
source = "registry+https://github.com/rust-lang/crates.io-index"
32203220
checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
32213221

3222+
[[package]]
3223+
name = "rustc-hash"
3224+
version = "2.1.0"
3225+
source = "git+https://github.com/orlp/rustc-hash?rev=3a89863922cb4ba5237a5bef65a9535b3d598663#3a89863922cb4ba5237a5bef65a9535b3d598663"
3226+
32223227
[[package]]
32233228
name = "rustc-main"
32243229
version = "0.0.0"
@@ -3621,7 +3626,7 @@ dependencies = [
36213626
"memmap2",
36223627
"parking_lot",
36233628
"portable-atomic",
3624-
"rustc-hash 2.1.0",
3629+
"rustc-hash 2.1.0 (git+https://github.com/orlp/rustc-hash?rev=3a89863922cb4ba5237a5bef65a9535b3d598663)",
36253630
"rustc-rayon",
36263631
"rustc-stable-hash",
36273632
"rustc_arena",
@@ -4324,7 +4329,7 @@ dependencies = [
43244329
name = "rustc_pattern_analysis"
43254330
version = "0.0.0"
43264331
dependencies = [
4327-
"rustc-hash 2.1.0",
4332+
"rustc-hash 2.1.0 (git+https://github.com/orlp/rustc-hash?rev=3a89863922cb4ba5237a5bef65a9535b3d598663)",
43284333
"rustc_abi",
43294334
"rustc_apfloat",
43304335
"rustc_arena",
@@ -4647,7 +4652,7 @@ dependencies = [
46474652
"bitflags",
46484653
"derive-where",
46494654
"indexmap",
4650-
"rustc-hash 1.1.0",
4655+
"rustc-hash 2.1.0 (git+https://github.com/orlp/rustc-hash?rev=3a89863922cb4ba5237a5bef65a9535b3d598663)",
46514656
"rustc_ast_ir",
46524657
"rustc_data_structures",
46534658
"rustc_index",
@@ -4720,7 +4725,7 @@ name = "rustdoc-json-types"
47204725
version = "0.1.0"
47214726
dependencies = [
47224727
"bincode",
4723-
"rustc-hash 2.1.0",
4728+
"rustc-hash 2.1.0 (git+https://github.com/orlp/rustc-hash?rev=3a89863922cb4ba5237a5bef65a9535b3d598663)",
47244729
"serde",
47254730
"serde_json",
47264731
]
@@ -5371,7 +5376,7 @@ dependencies = [
53715376
"ignore",
53725377
"miropt-test-tools",
53735378
"regex",
5374-
"rustc-hash 2.1.0",
5379+
"rustc-hash 2.1.0 (git+https://github.com/orlp/rustc-hash?rev=3a89863922cb4ba5237a5bef65a9535b3d598663)",
53755380
"semver",
53765381
"similar",
53775382
"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", features = ["rustc-rayon"] }
1414
jobserver_crate = { version = "0.1.28", package = "jobserver" }
1515
measureme = "11"
16-
rustc-hash = "2.0.0"
16+
rustc-hash = { git = "https://github.com/orlp/rustc-hash", rev = "3a89863922cb4ba5237a5bef65a9535b3d598663" }
1717
rustc-rayon = "0.5.0"
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 = "2.0.0"
8+
rustc-hash = { git = "https://github.com/orlp/rustc-hash", rev = "3a89863922cb4ba5237a5bef65a9535b3d598663" }
99

1010
rustc_abi = { path = "../rustc_abi", optional = true }
1111
rustc_apfloat = "0.2.0"

‎compiler/rustc_type_ir/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
bitflags = "2.4.1"
99
derive-where = "1.2.7"
1010
indexmap = "2.0.0"
11-
rustc-hash = "1.1.0"
11+
rustc-hash = { git = "https://github.com/orlp/rustc-hash", rev = "3a89863922cb4ba5237a5bef65a9535b3d598663" }
1212
rustc_ast_ir = { path = "../rustc_ast_ir", default-features = false }
1313
rustc_data_structures = { path = "../rustc_data_structures", optional = true }
1414
rustc_index = { path = "../rustc_index", default-features = false }

‎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 = "2.0", optional = true }
14+
rustc-hash = { git = "https://github.com/orlp/rustc-hash", rev = "3a89863922cb4ba5237a5bef65a9535b3d598663", 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 = "2.0.0"
12+
rustc-hash = { git = "https://github.com/orlp/rustc-hash", rev = "3a89863922cb4ba5237a5bef65a9535b3d598663" }
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/rust-analyzer/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ process-wrap = { version = "8.0.2", features = ["std"] }
136136
pulldown-cmark-to-cmark = "10.0.4"
137137
pulldown-cmark = { version = "0.9.0", default-features = false }
138138
rayon = "1.8.0"
139-
rustc-hash = "2.0.0"
139+
rustc-hash = { git = "https://github.com/orlp/rustc-hash", rev = "3a89863922cb4ba5237a5bef65a9535b3d598663" }
140140
semver = "1.0.14"
141141
serde = { version = "1.0.192" }
142142
serde_derive = { version = "1.0.192" }

‎src/tools/rust-analyzer/crates/ra-salsa/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ indexmap = "2.1.0"
1717
lock_api = "0.4"
1818
tracing = "0.1"
1919
parking_lot = "0.12.1"
20-
rustc-hash = "2.0.0"
20+
rustc-hash = { git = "https://github.com/orlp/rustc-hash", rev = "3a89863922cb4ba5237a5bef65a9535b3d598663" }
2121
smallvec = "1.0.0"
2222
oorandom = "11"
2323
triomphe.workspace = true

‎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 = "2.0.0"
16+
rustc-hash = { git = "https://github.com/orlp/rustc-hash", rev = "3a89863922cb4ba5237a5bef65a9535b3d598663" }
1717
fluent-syntax = "0.11.1"
1818
similar = "2.5.0"
1919

0 commit comments

Comments
 (0)
Failed to load comments.