@@ -87,6 +87,7 @@ pub struct Config {
87
87
pub rust_debuginfo_lines : bool ,
88
88
pub rust_debuginfo_only_std : bool ,
89
89
pub rust_rpath : bool ,
90
+ pub rustc_parallel_queries : bool ,
90
91
pub rustc_default_linker : Option < String > ,
91
92
pub rust_optimize_tests : bool ,
92
93
pub rust_debuginfo_tests : bool ,
@@ -266,6 +267,7 @@ struct Rust {
266
267
debuginfo : Option < bool > ,
267
268
debuginfo_lines : Option < bool > ,
268
269
debuginfo_only_std : Option < bool > ,
270
+ experimental_parallel_queries : Option < bool > ,
269
271
debug_jemalloc : Option < bool > ,
270
272
use_jemalloc : Option < bool > ,
271
273
backtrace : Option < bool > ,
@@ -474,6 +476,7 @@ impl Config {
474
476
set ( & mut config. rust_dist_src , rust. dist_src ) ;
475
477
set ( & mut config. quiet_tests , rust. quiet_tests ) ;
476
478
set ( & mut config. test_miri , rust. test_miri ) ;
479
+ config. rustc_parallel_queries = rust. experimental_parallel_queries . unwrap_or ( false ) ;
477
480
config. rustc_default_linker = rust. default_linker . clone ( ) ;
478
481
config. musl_root = rust. musl_root . clone ( ) . map ( PathBuf :: from) ;
479
482
config. save_toolstates = rust. save_toolstates . clone ( ) . map ( PathBuf :: from) ;
0 commit comments