We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
run_cargo
1 parent 81ac104 commit 7b22fcbCopy full SHA for 7b22fcb
src/bootstrap/compile.rs
@@ -1064,15 +1064,9 @@ pub fn run_cargo(builder: &Builder,
1064
1065
let filename = Path::new(&*filename);
1066
1067
- // If this was an output file in the "host dir" we don't actually
1068
- // worry about it, it's not relevant for us.
1069
- if filename.starts_with(&host_root_dir) {
1070
- continue;
1071
- }
1072
-
1073
// If this was output in the `deps` dir then this is a precise file
1074
// name (hash included) so we start tracking it.
1075
- if filename.starts_with(&target_deps_dir) {
+ if filename.starts_with(&host_root_dir) || filename.starts_with(&target_deps_dir) {
1076
deps.push(filename.to_path_buf());
1077
continue;
1078
}
0 commit comments