File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -624,6 +624,9 @@ impl Config {
624
624
let default = false ;
625
625
config. llvm_assertions = llvm_assertions. unwrap_or ( default) ;
626
626
627
+ let default = true ;
628
+ config. rust_optimize = optimize. unwrap_or ( default) ;
629
+
627
630
let default = match & config. channel [ ..] {
628
631
"stable" | "beta" | "nightly" => true ,
629
632
_ => false ,
@@ -636,7 +639,6 @@ impl Config {
636
639
config. debug_jemalloc = debug_jemalloc. unwrap_or ( default) ;
637
640
config. rust_debuginfo = debuginfo. unwrap_or ( default) ;
638
641
config. rust_debug_assertions = debug_assertions. unwrap_or ( default) ;
639
- config. rust_optimize = optimize. unwrap_or ( !default) ;
640
642
641
643
let default = config. channel == "dev" ;
642
644
config. ignore_git = ignore_git. unwrap_or ( default) ;
You can’t perform that action at this time.
0 commit comments