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