@@ -191,7 +191,6 @@ pub struct Config {
191191 pub rust_optimize : RustOptimize ,
192192 pub rust_codegen_units : Option < u32 > ,
193193 pub rust_codegen_units_std : Option < u32 > ,
194-
195194 pub rustc_debug_assertions : bool ,
196195 pub std_debug_assertions : bool ,
197196 pub tools_debug_assertions : bool ,
@@ -222,6 +221,8 @@ pub struct Config {
222221 pub rust_validate_mir_opts : Option < u32 > ,
223222 pub rust_std_features : BTreeSet < String > ,
224223 pub rust_break_on_ice : bool ,
224+ pub rust_parallel_frontend_threads : Option < u32 > ,
225+
225226 pub llvm_profile_use : Option < String > ,
226227 pub llvm_profile_generate : bool ,
227228 pub llvm_libunwind_default : Option < LlvmLibunwind > ,
@@ -534,6 +535,7 @@ impl Config {
534535 backtrace_on_ice : rust_backtrace_on_ice,
535536 verify_llvm_ir : rust_verify_llvm_ir,
536537 thin_lto_import_instr_limit : rust_thin_lto_import_instr_limit,
538+ parallel_frontend_threads : rust_parallel_frontend_threads,
537539 remap_debuginfo : rust_remap_debuginfo,
538540 jemalloc : rust_jemalloc,
539541 test_compare_mode : rust_test_compare_mode,
@@ -1298,6 +1300,7 @@ impl Config {
12981300 rust_overflow_checks_std : rust_overflow_checks_std
12991301 . or ( rust_overflow_checks)
13001302 . unwrap_or ( rust_debug == Some ( true ) ) ,
1303+ rust_parallel_frontend_threads : rust_parallel_frontend_threads. map ( threads_from_config) ,
13011304 rust_profile_generate : flags_rust_profile_generate. or ( rust_profile_generate) ,
13021305 rust_profile_use : flags_rust_profile_use. or ( rust_profile_use) ,
13031306 rust_randomize_layout : rust_randomize_layout. unwrap_or ( false ) ,
0 commit comments