Skip to content

Commit

Permalink
Make -Z ls list the actual filename of external dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanhs committed Oct 31, 2018
1 parent 1cf82fd commit e84f461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_metadata/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ impl<'a, 'tcx> MetadataBlob {
for (i, dep) in root.crate_deps
.decode(self)
.enumerate() {
write!(out, "{} {}-{}\n", i + 1, dep.name, dep.hash)?;
write!(out, "{} {}{}\n", i + 1, dep.name, dep.extra_filename)?;
}
write!(out, "\n")?;
Ok(())
Expand Down

0 comments on commit e84f461

Please sign in to comment.