We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4b208 commit b175437Copy full SHA for b175437
compiler/rustc_codegen_ssa/src/base.rs
@@ -665,7 +665,7 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
665
sorted_cgus.sort_by_cached_key(|cgu| cgu.size_estimate());
666
667
let (first_half, second_half) = sorted_cgus.split_at(sorted_cgus.len() / 2);
668
- second_half.iter().rev().interleave(first_half).copied().collect()
+ first_half.iter().interleave(second_half.iter().rev()).copied().collect()
669
};
670
671
// Calculate the CGU reuse
0 commit comments