Skip to content

Commit

Permalink
Rollup merge of rust-lang#23090 - alexcrichton:dep-info, r=pnkfelix
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Mar 6, 2015
2 parents fe41c93 + 9319252 commit 0b7117b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_driver/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 0b7117b

Please sign in to comment.