Skip to content

Commit c358310

Browse files
committed
Auto merge of #125133 - orlp:faster-rustc-hash, r=<try>
[DO NOT MERGE] perf run for rustc-hash candidate See rust-lang/rustc-hash#37.
2 parents 0160bff + f4b59b1 commit c358310

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

Cargo.lock

+1-2
Original file line numberDiff line numberDiff line change
@@ -3449,8 +3449,7 @@ dependencies = [
34493449
[[package]]
34503450
name = "rustc-hash"
34513451
version = "1.1.0"
3452-
source = "registry+https://github.com/rust-lang/crates.io-index"
3453-
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
3452+
source = "git+https://github.com/orlp/rustc-hash/?branch=faster-hash#d5b36344139e1271104307686bb2f59c2cc4f46b"
34543453

34553454
[[package]]
34563455
name = "rustc-main"

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,4 @@ strip = true
111111
rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
112112
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
113113
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
114+
rustc-hash = { git = "https://github.com/orlp/rustc-hash/", branch = "faster-hash" }

compiler/rustc_data_structures/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ indexmap = { version = "2.0.0" }
1414
jobserver_crate = { version = "0.1.28", package = "jobserver" }
1515
libc = "0.2"
1616
measureme = "11"
17-
rustc-hash = "1.1.0"
17+
rustc-hash = { version = "1.1.0", features = ["nightly"] }
1818
rustc-rayon = { version = "0.5.0", optional = true }
1919
rustc-rayon-core = { version = "0.5.0", optional = true }
2020
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 = { version = "1.1.0", features = ["nightly"] }
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 = { version = "1.1.0", features = ["nightly"] }
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 = { version = "1.1.0", features = ["nightly"] }
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
@@ -135,7 +135,7 @@ object = { version = "0.33.0", default-features = false, features = [
135135
pulldown-cmark-to-cmark = "10.0.4"
136136
pulldown-cmark = { version = "0.9.0", default-features = false }
137137
rayon = "1.8.0"
138-
rustc-hash = "1.1.0"
138+
rustc-hash = { version = "1.1.0", features = ["nightly"] }
139139
semver = "1.0.14"
140140
serde = { version = "1.0.192", features = ["derive"] }
141141
serde_json = "1.0.108"

src/tools/rust-analyzer/crates/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 = "1.0"
20+
rustc-hash = { version = "1.1.0", features = ["nightly"] }
2121
smallvec = "1.0.0"
2222
oorandom = "11"
2323
triomphe = "0.1.11"

src/tools/tidy/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ walkdir = "2"
1212
ignore = "0.4.18"
1313
semver = "1.0"
1414
termcolor = "1.1.3"
15-
rustc-hash = "1.1.0"
15+
rustc-hash = { version = "1.1.0", features = ["nightly"] }
1616

1717
[[bin]]
1818
name = "rust-tidy"

0 commit comments

Comments
 (0)