remove dep-info files as targets in themselves

This commit is contained in:
Adam C. Foltzer 2017-12-27 09:55:20 -08:00
parent 79a521bb9a
commit 7e99764df3

View File

@ -1162,6 +1162,8 @@ fn write_out_deps(sess: &Session, outputs: &OutputFilenames, crate_name: &str) {
out_filenames.push(p);
}
}
// Do not include the dep-info file in itself as a target
OutputType::DepInfo => { }
_ => {
out_filenames.push(file);
}