@@ -191,7 +191,6 @@ pub struct Config {
191
191
pub rust_optimize : RustOptimize ,
192
192
pub rust_codegen_units : Option < u32 > ,
193
193
pub rust_codegen_units_std : Option < u32 > ,
194
-
195
194
pub rustc_debug_assertions : bool ,
196
195
pub std_debug_assertions : bool ,
197
196
pub tools_debug_assertions : bool ,
@@ -222,6 +221,8 @@ pub struct Config {
222
221
pub rust_validate_mir_opts : Option < u32 > ,
223
222
pub rust_std_features : BTreeSet < String > ,
224
223
pub rust_break_on_ice : bool ,
224
+ pub rust_parallel_frontend_threads : Option < u32 > ,
225
+
225
226
pub llvm_profile_use : Option < String > ,
226
227
pub llvm_profile_generate : bool ,
227
228
pub llvm_libunwind_default : Option < LlvmLibunwind > ,
@@ -534,6 +535,7 @@ impl Config {
534
535
backtrace_on_ice : rust_backtrace_on_ice,
535
536
verify_llvm_ir : rust_verify_llvm_ir,
536
537
thin_lto_import_instr_limit : rust_thin_lto_import_instr_limit,
538
+ parallel_frontend_threads : rust_parallel_frontend_threads,
537
539
remap_debuginfo : rust_remap_debuginfo,
538
540
jemalloc : rust_jemalloc,
539
541
test_compare_mode : rust_test_compare_mode,
@@ -1298,8 +1300,9 @@ impl Config {
1298
1300
rust_overflow_checks_std : rust_overflow_checks_std
1299
1301
. or ( rust_overflow_checks)
1300
1302
. unwrap_or ( rust_debug == Some ( true ) ) ,
1303
+ rust_parallel_frontend_threads : rust_parallel_frontend_threads. map ( threads_from_config) ,
1301
1304
rust_profile_generate : flags_rust_profile_generate. or ( rust_profile_generate) ,
1302
- rust_profile_use : flags_rust_profile_use. or ( rust_profile_use) ,
1305
+ rust_profile_use : flags_rust_profile_use. or ( rust_profile_use) ,
1303
1306
rust_randomize_layout : rust_randomize_layout. unwrap_or ( false ) ,
1304
1307
rust_remap_debuginfo : rust_remap_debuginfo. unwrap_or ( false ) ,
1305
1308
rust_rpath : rust_rpath. unwrap_or ( true ) ,
0 commit comments