Bootstrap changes

This commit is contained in:
John Kåre Alsaker
2018-12-02 21:47:41 +01:00
parent c3c1c8d4e0
commit e501a87e89
7 changed files with 96 additions and 36 deletions

View File

@@ -1129,7 +1129,7 @@ impl Build {
ret
}
fn read_stamp_file(&self, stamp: &Path) -> Vec<PathBuf> {
fn read_stamp_file(&self, stamp: &Path) -> Vec<(PathBuf, bool)> {
if self.config.dry_run {
return Vec::new();
}
@@ -1142,8 +1142,9 @@ impl Build {
if part.is_empty() {
continue
}
let path = PathBuf::from(t!(str::from_utf8(part)));
paths.push(path);
let host = part[0] as char == 'h';
let path = PathBuf::from(t!(str::from_utf8(&part[1..])));
paths.push((path, host));
}
paths
}