File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1775,9 +1775,9 @@ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
1775
1775
1776
1776
[[package ]]
1777
1777
name = " indexmap"
1778
- version = " 2.2.6 "
1778
+ version = " 2.4.0 "
1779
1779
source = " registry+https://github.com/rust-lang/crates.io-index"
1780
- checksum = " 168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26 "
1780
+ checksum = " 93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c "
1781
1781
dependencies = [
1782
1782
" equivalent" ,
1783
1783
" hashbrown" ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ bitflags = "2.4.1"
10
10
either = " 1.0"
11
11
elsa = " =1.7.1"
12
12
ena = " 0.14.3"
13
- indexmap = { version = " 2.0 .0" }
13
+ indexmap = { version = " 2.4 .0" }
14
14
jobserver_crate = { version = " 0.1.28" , package = " jobserver" }
15
15
measureme = " 11"
16
16
rustc-hash = " 1.1.0"
Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ fn merge_codegen_units<'tcx>(
371
371
// Move the items from `cgu_src` to `cgu_dst`. Some of them may be
372
372
// duplicate inlined items, in which case the destination CGU is
373
373
// unaffected. Recalculate size estimates afterwards.
374
- cgu_dst. items_mut ( ) . extend ( cgu_src. items_mut ( ) . drain ( .. ) ) ;
374
+ cgu_dst. items_mut ( ) . append ( cgu_src. items_mut ( ) ) ;
375
375
cgu_dst. compute_size_estimate ( ) ;
376
376
377
377
// Record that `cgu_dst` now contains all the stuff that was in
@@ -410,7 +410,7 @@ fn merge_codegen_units<'tcx>(
410
410
// Move the items from `smallest` to `second_smallest`. Some of them
411
411
// may be duplicate inlined items, in which case the destination CGU is
412
412
// unaffected. Recalculate size estimates afterwards.
413
- second_smallest. items_mut ( ) . extend ( smallest. items_mut ( ) . drain ( .. ) ) ;
413
+ second_smallest. items_mut ( ) . append ( smallest. items_mut ( ) ) ;
414
414
second_smallest. compute_size_estimate ( ) ;
415
415
416
416
// Don't update `cgu_contents`, that's only for incremental builds.
You can’t perform that action at this time.
0 commit comments