about summary refs log tree commit diff
path: root/compiler/rustc_driver
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2022-02-11 23:25:14 +0300
committerklensy <klensy@users.noreply.github.com>2022-03-28 08:41:12 +0300
commit008fc79dcd821b08a1ab64f5fba40dcc4bcd3aee (patch)
treeb3968ac6b5ed27b001ac7d29b9123c23b7bdb6da /compiler/rustc_driver
parent78fbcca3e10b6671ca54bd4c01cb84b3f6f13cf3 (diff)
Propagate `parallel_compiler` feature through rustc crates. Turned off feature gives change of builded crates: 238 -> 224.
Diffstat (limited to 'compiler/rustc_driver')
-rw-r--r--compiler/rustc_driver/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_driver/Cargo.toml b/compiler/rustc_driver/Cargo.toml
index 872f946bf7d..fd2ca5beade 100644
--- a/compiler/rustc_driver/Cargo.toml
+++ b/compiler/rustc_driver/Cargo.toml
@@ -39,3 +39,5 @@ winapi = { version = "0.3", features = ["consoleapi", "debugapi", "processenv"]
 [features]
 llvm = ['rustc_interface/llvm']
 max_level_info = ['rustc_log/max_level_info']
+rustc_use_parallel_compiler = ['rustc_data_structures/rustc_use_parallel_compiler', 'rustc_interface/rustc_use_parallel_compiler',
+    'rustc_middle/rustc_use_parallel_compiler']