@@ -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,
@@ -1314,6 +1316,7 @@ impl Config {
13141316 rustc_default_linker : rust_default_linker,
13151317 rustc_error_format : flags_rustc_error_format,
13161318 rustfmt_info,
1319+ rust_parallel_frontend_threads : rust_parallel_frontend_threads. map ( threads_from_config) ,
13171320 sanitizers : build_sanitizers. unwrap_or ( false ) ,
13181321 save_toolstates : rust_save_toolstates. map ( PathBuf :: from) ,
13191322 skip,
0 commit comments