Skip to content

Commit e84f461

Browse files
committed
Make -Z ls list the actual filename of external dependencies
1 parent 1cf82fd commit e84f461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_metadata/decoder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ impl<'a, 'tcx> MetadataBlob {
400400
for (i, dep) in root.crate_deps
401401
.decode(self)
402402
.enumerate() {
403-
write!(out, "{} {}-{}\n", i + 1, dep.name, dep.hash)?;
403+
write!(out, "{} {}{}\n", i + 1, dep.name, dep.extra_filename)?;
404404
}
405405
write!(out, "\n")?;
406406
Ok(())

0 commit comments

Comments
 (0)