@@ -86,7 +86,6 @@ pub struct Config {
86
86
// rust codegen options
87
87
pub rust_optimize : bool ,
88
88
pub rust_codegen_units : Option < u32 > ,
89
- pub rust_thinlto : bool ,
90
89
pub rust_debug_assertions : bool ,
91
90
pub rust_debuginfo : bool ,
92
91
pub rust_debuginfo_lines : bool ,
@@ -270,7 +269,6 @@ impl Default for StringOrBool {
270
269
struct Rust {
271
270
optimize : Option < bool > ,
272
271
codegen_units : Option < u32 > ,
273
- thinlto : Option < bool > ,
274
272
debug_assertions : Option < bool > ,
275
273
debuginfo : Option < bool > ,
276
274
debuginfo_lines : Option < bool > ,
@@ -429,7 +427,6 @@ impl Config {
429
427
430
428
// Store off these values as options because if they're not provided
431
429
// we'll infer default values for them later
432
- let mut thinlto = None ;
433
430
let mut llvm_assertions = None ;
434
431
let mut debuginfo_lines = None ;
435
432
let mut debuginfo_only_std = None ;
@@ -473,7 +470,6 @@ impl Config {
473
470
optimize = rust. optimize ;
474
471
ignore_git = rust. ignore_git ;
475
472
debug_jemalloc = rust. debug_jemalloc ;
476
- thinlto = rust. thinlto ;
477
473
set ( & mut config. rust_optimize_tests , rust. optimize_tests ) ;
478
474
set ( & mut config. rust_debuginfo_tests , rust. debuginfo_tests ) ;
479
475
set ( & mut config. codegen_tests , rust. codegen_tests ) ;
@@ -561,7 +557,6 @@ impl Config {
561
557
"stable" | "beta" | "nightly" => true ,
562
558
_ => false ,
563
559
} ;
564
- config. rust_thinlto = thinlto. unwrap_or ( true ) ;
565
560
config. rust_debuginfo_lines = debuginfo_lines. unwrap_or ( default) ;
566
561
config. rust_debuginfo_only_std = debuginfo_only_std. unwrap_or ( default) ;
567
562
0 commit comments