File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -478,16 +478,16 @@ fn handle_rustc_crates(
478
478
// The root package of the rustc-dev component is rustc_driver, so we match that
479
479
let root_pkg =
480
480
rustc_workspace. packages ( ) . find ( |package| rustc_workspace[ * package] . name == "rustc_driver" ) ;
481
- // The rustc workspace might be incomplete (such as if rustc-dev is not installed for the current toolchain)
482
- // and `rustcSource` is set to discover.
481
+ // The rustc workspace might be incomplete (such as if rustc-dev is not
482
+ // installed for the current toolchain) and `rustcSource` is set to discover.
483
483
if let Some ( root_pkg) = root_pkg {
484
484
// Iterate through every crate in the dependency subtree of rustc_driver using BFS
485
485
let mut queue = VecDeque :: new ( ) ;
486
486
queue. push_back ( root_pkg) ;
487
487
while let Some ( pkg) = queue. pop_front ( ) {
488
488
// Don't duplicate packages if they are dependended on a diamond pattern
489
- // N.B. if this line is ommitted, we try and analyse either 48_000 or 480_000 crates
490
- // neither of which makes
489
+ // N.B. if this line is ommitted, we try to analyse over 4_800_000 crates
490
+ // which is not ideal
491
491
if rustc_pkg_crates. contains_key ( & pkg) {
492
492
continue ;
493
493
}
You can’t perform that action at this time.
0 commit comments