Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7f5da49

Browse files
eddybZoxc
authored andcommittedDec 13, 2018
bootstrap: include host deps, not just target ones, in run_cargo.
1 parent 98bfe1d commit 7f5da49

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed
 

‎src/bootstrap/compile.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,15 +1062,9 @@ pub fn run_cargo(builder: &Builder,
10621062

10631063
let filename = Path::new(&*filename);
10641064

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-
10711065
// If this was output in the `deps` dir then this is a precise file
10721066
// name (hash included) so we start tracking it.
1073-
if filename.starts_with(&target_deps_dir) {
1067+
if filename.starts_with(&host_root_dir) || filename.starts_with(&target_deps_dir) {
10741068
deps.push(filename.to_path_buf());
10751069
continue;
10761070
}

0 commit comments

Comments
 (0)
Please sign in to comment.