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 {
624624 let default = false ;
625625 config. llvm_assertions = llvm_assertions. unwrap_or ( default) ;
626626
627+ let default = true ;
628+ config. rust_optimize = optimize. unwrap_or ( default) ;
629+
627630 let default = match & config. channel [ ..] {
628631 "stable" | "beta" | "nightly" => true ,
629632 _ => false ,
@@ -636,7 +639,6 @@ impl Config {
636639 config. debug_jemalloc = debug_jemalloc. unwrap_or ( default) ;
637640 config. rust_debuginfo = debuginfo. unwrap_or ( default) ;
638641 config. rust_debug_assertions = debug_assertions. unwrap_or ( default) ;
639- config. rust_optimize = optimize. unwrap_or ( !default) ;
640642
641643 let default = config. channel == "dev" ;
642644 config. ignore_git = ignore_git. unwrap_or ( default) ;
You can’t perform that action at this time.
0 commit comments