From 1435c15dff810a06efceb5dc771e9d5338141037 Mon Sep 17 00:00:00 2001 From: SparrowLii Date: Wed, 29 Mar 2023 21:14:24 +0800 Subject: [PATCH] use thread-safe indexmap --- compiler/rustc_data_structures/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_data_structures/Cargo.toml b/compiler/rustc_data_structures/Cargo.toml index 2ac47bc0cb435..06ce1adc685c9 100644 --- a/compiler/rustc_data_structures/Cargo.toml +++ b/compiler/rustc_data_structures/Cargo.toml @@ -10,7 +10,7 @@ arrayvec = { version = "0.7", default-features = false } bitflags = "1.2.1" cfg-if = "1.0" ena = "0.14.2" -indexmap = { version = "1.9.3" } +indexmap = { version = "1.9.3", features = ["rustc-rayon"] } jobserver_crate = { version = "0.1.13", package = "jobserver" } libc = "0.2" measureme = "10.0.0" @@ -51,4 +51,4 @@ features = [ memmap2 = "0.2.1" [features] -rustc_use_parallel_compiler = ["indexmap/rustc-rayon", "rustc-rayon"] \ No newline at end of file +rustc_use_parallel_compiler = ["rustc-rayon"] \ No newline at end of file