@@ -108,6 +108,7 @@ pub struct Config {
108108 pub rust_dist_src : bool ,
109109 pub rust_codegen_backends : Vec < Interned < String > > ,
110110 pub rust_verify_llvm_ir : bool ,
111+ pub rust_thin_lto_import_instr_limit : Option < u32 > ,
111112 pub rust_remap_debuginfo : bool ,
112113
113114 pub build : Interned < String > ,
@@ -325,6 +326,7 @@ struct Rust {
325326 deny_warnings : Option < bool > ,
326327 backtrace_on_ice : Option < bool > ,
327328 verify_llvm_ir : Option < bool > ,
329+ thin_lto_import_instr_limit : Option < u32 > ,
328330 remap_debuginfo : Option < bool > ,
329331 jemalloc : Option < bool > ,
330332 test_compare_mode : Option < bool > ,
@@ -569,6 +571,7 @@ impl Config {
569571 set ( & mut config. deny_warnings , flags. deny_warnings . or ( rust. deny_warnings ) ) ;
570572 set ( & mut config. backtrace_on_ice , rust. backtrace_on_ice ) ;
571573 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 ;
572575 set ( & mut config. rust_remap_debuginfo , rust. remap_debuginfo ) ;
573576
574577 if let Some ( ref backends) = rust. codegen_backends {
0 commit comments