Skip to content

Commit 7e99764

Browse files
author
Adam C. Foltzer
committed
remove dep-info files as targets in themselves
1 parent 79a521b commit 7e99764

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_driver/driver.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,8 @@ fn write_out_deps(sess: &Session, outputs: &OutputFilenames, crate_name: &str) {
11621162
out_filenames.push(p);
11631163
}
11641164
}
1165+
// Do not include the dep-info file in itself as a target
1166+
OutputType::DepInfo => { }
11651167
_ => {
11661168
out_filenames.push(file);
11671169
}

0 commit comments

Comments
 (0)