diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-12-02 21:47:41 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-03-05 00:36:24 +0100 |
| commit | e501a87e895221dfe7475c6739feffe4bbca04eb (patch) | |
| tree | 37bbca32d36c6234eedf8009653533d503821053 /src/bootstrap/lib.rs | |
| parent | c3c1c8d4e0f01c869f8381e70fbd4d103534493f (diff) | |
| download | rust-e501a87e895221dfe7475c6739feffe4bbca04eb.tar.gz rust-e501a87e895221dfe7475c6739feffe4bbca04eb.zip | |
Bootstrap changes
Diffstat (limited to 'src/bootstrap/lib.rs')
| -rw-r--r-- | src/bootstrap/lib.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 84e2c5aab54..9317a40545e 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -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 } |
