File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ fn main() {
74
74
if let Some ( profile) = env:: var_os ( "RUSTC_TUNE_COMPILER_CODEGEN_UNITS" ) {
75
75
let cgus = match crate_name {
76
76
// This crate is large and at the tail of the compiler crates, give it extra CGUs.
77
- "rustc_query_impl" => Some ( 96 ) ,
77
+ // "rustc_query_impl" => Some(96),
78
78
// This compiles after all other crates so give it default CGUs to speed it up.
79
79
"rustc_driver" => None ,
80
80
_ => {
Original file line number Diff line number Diff line change @@ -1885,10 +1885,7 @@ impl<'a> Builder<'a> {
1885
1885
cargo. env ( profile_var ( "CODEGEN_UNITS" ) , n. to_string ( ) ) ;
1886
1886
}
1887
1887
( Mode :: Rustc , _, _) => {
1888
- cargo. env (
1889
- "RUSTC_TUNE_COMPILER_CODEGEN_UNITS" ,
1890
- if self . config . rust_codegen_units_fast { "fast" } else { "1" } ,
1891
- ) ;
1888
+ cargo. env ( "RUSTC_TUNE_COMPILER_CODEGEN_UNITS" , "fast" ) ;
1892
1889
}
1893
1890
_ => {
1894
1891
// Don't set anything
You can’t perform that action at this time.
0 commit comments