diff options
| author | Guanqun Lu <guanqun.lu@gmail.com> | 2019-10-17 16:57:46 +0800 |
|---|---|---|
| committer | Guanqun Lu <guanqun.lu@gmail.com> | 2019-10-17 17:01:49 +0800 |
| commit | c716be6874f0c55c835d9b0aba5b41ff52329aab (patch) | |
| tree | 3c397bdcc7d114e03dfe9317eb5be84d2d449776 /src/bootstrap | |
| parent | 237d54ff6c4fb3577e02d4c5af02813c11b63d01 (diff) | |
| download | rust-c716be6874f0c55c835d9b0aba5b41ff52329aab.tar.gz rust-c716be6874f0c55c835d9b0aba5b41ff52329aab.zip | |
show up some extra info when t!() fails
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 9203a558f64..6fc72fa0b2a 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -1126,7 +1126,7 @@ impl Build { } let mut paths = Vec::new(); - let contents = t!(fs::read(stamp)); + let contents = t!(fs::read(stamp), &stamp); // This is the method we use for extracting paths from the stamp file passed to us. See // run_cargo for more information (in compile.rs). for part in contents.split(|b| *b == 0) { |
