@@ -108,6 +108,7 @@ pub struct Config {
108
108
pub rust_dist_src : bool ,
109
109
pub rust_codegen_backends : Vec < Interned < String > > ,
110
110
pub rust_verify_llvm_ir : bool ,
111
+ pub rust_thin_lto_import_instr_limit : Option < u32 > ,
111
112
pub rust_remap_debuginfo : bool ,
112
113
113
114
pub build : Interned < String > ,
@@ -325,6 +326,7 @@ struct Rust {
325
326
deny_warnings : Option < bool > ,
326
327
backtrace_on_ice : Option < bool > ,
327
328
verify_llvm_ir : Option < bool > ,
329
+ thin_lto_import_instr_limit : Option < u32 > ,
328
330
remap_debuginfo : Option < bool > ,
329
331
jemalloc : Option < bool > ,
330
332
test_compare_mode : Option < bool > ,
@@ -569,6 +571,7 @@ impl Config {
569
571
set ( & mut config. deny_warnings , flags. deny_warnings . or ( rust. deny_warnings ) ) ;
570
572
set ( & mut config. backtrace_on_ice , rust. backtrace_on_ice ) ;
571
573
set ( & mut config. rust_verify_llvm_ir , rust. verify_llvm_ir ) ;
574
+ config. rust_thin_lto_import_instr_limit = rust. thin_lto_import_instr_limit ;
572
575
set ( & mut config. rust_remap_debuginfo , rust. remap_debuginfo ) ;
573
576
574
577
if let Some ( ref backends) = rust. codegen_backends {
0 commit comments