1
Fork 0

Revert "Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obk"

This reverts commit eda4a35f36, reversing
changes made to eb6b35b5bc.
This commit is contained in:
Rémy Rakic 2024-06-06 09:45:50 +00:00
parent 2b6a34273d
commit 0a4176a831
23 changed files with 47 additions and 54 deletions

View file

@ -464,7 +464,7 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
}
}
for &cnum in tcx.crates_including_speculative(()) {
for &cnum in tcx.crates(()) {
let source = tcx.used_crate_source(cnum);
if let Some((path, _)) = &source.dylib {
files.push(escape_dep_filename(&path.display().to_string()));