@@ -86,7 +86,6 @@ pub struct Config {
8686 // rust codegen options
8787 pub rust_optimize : bool ,
8888 pub rust_codegen_units : Option < u32 > ,
89- pub rust_thinlto : bool ,
9089 pub rust_debug_assertions : bool ,
9190 pub rust_debuginfo : bool ,
9291 pub rust_debuginfo_lines : bool ,
@@ -270,7 +269,6 @@ impl Default for StringOrBool {
270269struct Rust {
271270 optimize : Option < bool > ,
272271 codegen_units : Option < u32 > ,
273- thinlto : Option < bool > ,
274272 debug_assertions : Option < bool > ,
275273 debuginfo : Option < bool > ,
276274 debuginfo_lines : Option < bool > ,
@@ -429,7 +427,6 @@ impl Config {
429427
430428 // Store off these values as options because if they're not provided
431429 // we'll infer default values for them later
432- let mut thinlto = None ;
433430 let mut llvm_assertions = None ;
434431 let mut debuginfo_lines = None ;
435432 let mut debuginfo_only_std = None ;
@@ -473,7 +470,6 @@ impl Config {
473470 optimize = rust. optimize ;
474471 ignore_git = rust. ignore_git ;
475472 debug_jemalloc = rust. debug_jemalloc ;
476- thinlto = rust. thinlto ;
477473 set ( & mut config. rust_optimize_tests , rust. optimize_tests ) ;
478474 set ( & mut config. rust_debuginfo_tests , rust. debuginfo_tests ) ;
479475 set ( & mut config. codegen_tests , rust. codegen_tests ) ;
@@ -561,7 +557,6 @@ impl Config {
561557 "stable" | "beta" | "nightly" => true ,
562558 _ => false ,
563559 } ;
564- config. rust_thinlto = thinlto. unwrap_or ( true ) ;
565560 config. rust_debuginfo_lines = debuginfo_lines. unwrap_or ( default) ;
566561 config. rust_debuginfo_only_std = debuginfo_only_std. unwrap_or ( default) ;
567562
0 commit comments