You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #11936 - ehuss:uncanonicalized-path-prefix, r=arlosi
Don't query permutations of the path prefix.
This fixes the use of the `UncanonicalizedIter` to not create permutations that are not valid paths if the crate has a dash or underscore in the first four characters of the name.
Previously it was permuting the path in the prefix, creating invalid paths. For example, `my-tool` would create a path like `my/_t/my-tool` which isn't valid since the filename doesn't match the prefix directories.
This fixes it so that it permutes just the name, and then generates the index path *after* permuting it.
The test included here goes from 16 queries to just 4 queries.
Fixes#11935
0 commit comments