Rollup merge of #23090 - alexcrichton:dep-info, r=pnkfelix
Closes #23089
This commit is contained in:
commit
0b7117b7a3
1 changed files with 3 additions and 1 deletions
|
@ -814,7 +814,9 @@ fn write_out_deps(sess: &Session,
|
|||
// Build a list of files used to compile the output and
|
||||
// write Makefile-compatible dependency rules
|
||||
let files: Vec<String> = sess.codemap().files.borrow()
|
||||
.iter().filter(|fmap| fmap.is_real_file())
|
||||
.iter()
|
||||
.filter(|fmap| fmap.is_real_file())
|
||||
.filter(|fmap| !fmap.is_imported())
|
||||
.map(|fmap| escape_dep_filename(&fmap.name))
|
||||
.collect();
|
||||
let mut file = try!(fs::File::create(&deps_filename));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue