Use hashbrown from crates.io
This commit is contained in:
parent
fcd3349d14
commit
93bfe39ba5
5 changed files with 13 additions and 4 deletions
|
@ -1491,6 +1491,7 @@ version = "0.15.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
|
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"allocator-api2",
|
||||||
"foldhash",
|
"foldhash",
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
@ -3479,6 +3480,7 @@ dependencies = [
|
||||||
"either",
|
"either",
|
||||||
"elsa",
|
"elsa",
|
||||||
"ena",
|
"ena",
|
||||||
|
"hashbrown 0.15.2",
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"jobserver",
|
"jobserver",
|
||||||
"libc",
|
"libc",
|
||||||
|
@ -4257,6 +4259,7 @@ dependencies = [
|
||||||
name = "rustc_query_system"
|
name = "rustc_query_system"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"hashbrown 0.15.2",
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
"rustc-rayon-core",
|
"rustc-rayon-core",
|
||||||
"rustc_abi",
|
"rustc_abi",
|
||||||
|
|
|
@ -29,6 +29,11 @@ thin-vec = "0.2.12"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
|
||||||
|
[dependencies.hashbrown]
|
||||||
|
version = "0.15.2"
|
||||||
|
default-features = false
|
||||||
|
features = ["nightly"] # for may_dangle
|
||||||
|
|
||||||
[dependencies.parking_lot]
|
[dependencies.parking_lot]
|
||||||
version = "0.12"
|
version = "0.12"
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,6 @@
|
||||||
#![feature(unwrap_infallible)]
|
#![feature(unwrap_infallible)]
|
||||||
// tidy-alphabetical-end
|
// tidy-alphabetical-end
|
||||||
|
|
||||||
extern crate hashbrown;
|
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
pub use atomic_ref::AtomicRef;
|
pub use atomic_ref::AtomicRef;
|
||||||
|
|
|
@ -24,3 +24,8 @@ rustc_span = { path = "../rustc_span" }
|
||||||
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
|
||||||
|
[dependencies.hashbrown]
|
||||||
|
version = "0.15.2"
|
||||||
|
default-features = false
|
||||||
|
features = ["nightly"] # for may_dangle
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
#![feature(min_specialization)]
|
#![feature(min_specialization)]
|
||||||
// tidy-alphabetical-end
|
// tidy-alphabetical-end
|
||||||
|
|
||||||
extern crate hashbrown;
|
|
||||||
|
|
||||||
pub mod cache;
|
pub mod cache;
|
||||||
pub mod dep_graph;
|
pub mod dep_graph;
|
||||||
mod error;
|
mod error;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue