Skip to content

Commit 9f6c6bd

Browse files
committed
Enable icu sync feature for parallel compiler
1 parent 1ebe279 commit 9f6c6bd

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

compiler/rustc_baked_icu_data/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ icu_provider = "1.0.1"
1010
icu_provider_adapters = "1.0.0"
1111
litemap = "0.6.0"
1212
zerovec = "0.9.0"
13+
14+
[features]
15+
rustc_use_parallel_compiler = ['icu_provider/sync']

compiler/rustc_error_messages/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ icu_list = "1.0.0"
2020
writeable = "0.5.0"
2121
icu_locid = "1.0.0"
2222
icu_provider_adapters = "1.0.0"
23+
24+
[features]
25+
rustc_use_parallel_compiler = ['rustc_baked_icu_data/rustc_use_parallel_compiler']

compiler/rustc_errors/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ serde_json = "1.0.59"
2727

2828
[target.'cfg(windows)'.dependencies]
2929
winapi = { version = "0.3", features = [ "handleapi", "synchapi", "winbase" ] }
30+
31+
[features]
32+
rustc_use_parallel_compiler = ['rustc_error_messages/rustc_use_parallel_compiler']

compiler/rustc_interface/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ rustc_target = { path = "../rustc_target" }
5353

5454
[features]
5555
llvm = ['rustc_codegen_llvm']
56-
rustc_use_parallel_compiler = ['rayon', 'rustc-rayon-core', 'rustc_query_impl/rustc_use_parallel_compiler']
56+
rustc_use_parallel_compiler = ['rayon', 'rustc-rayon-core', 'rustc_query_impl/rustc_use_parallel_compiler', 'rustc_errors/rustc_use_parallel_compiler']

0 commit comments

Comments
 (0)