From 93bfe39ba574cff3f1d1df448f0b512e32578e7e Mon Sep 17 00:00:00 2001 From: John Kåre Alsaker Date: Fri, 21 Mar 2025 07:54:06 +0100 Subject: Use hashbrown from crates.io --- compiler/rustc_query_system/Cargo.toml | 5 +++++ compiler/rustc_query_system/src/lib.rs | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'compiler/rustc_query_system') diff --git a/compiler/rustc_query_system/Cargo.toml b/compiler/rustc_query_system/Cargo.toml index 78710efb7a9..7db06953aeb 100644 --- a/compiler/rustc_query_system/Cargo.toml +++ b/compiler/rustc_query_system/Cargo.toml @@ -24,3 +24,8 @@ rustc_span = { path = "../rustc_span" } smallvec = { version = "1.8.1", features = ["union", "may_dangle"] } tracing = "0.1" # tidy-alphabetical-end + +[dependencies.hashbrown] +version = "0.15.2" +default-features = false +features = ["nightly"] # for may_dangle diff --git a/compiler/rustc_query_system/src/lib.rs b/compiler/rustc_query_system/src/lib.rs index 85e41a39072..2aedd365adc 100644 --- a/compiler/rustc_query_system/src/lib.rs +++ b/compiler/rustc_query_system/src/lib.rs @@ -7,8 +7,6 @@ #![feature(min_specialization)] // tidy-alphabetical-end -extern crate hashbrown; - pub mod cache; pub mod dep_graph; mod error; -- cgit 1.4.1-3-g733a5