Skip to content

Commit 770d303

Browse files
committed
When stamp doesn't exist, should say Error, and print path to stamp file
1 parent 2a4b00b commit 770d303

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/bootstrap/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,8 @@ impl Build {
14331433

14341434
if !stamp.exists() {
14351435
eprintln!(
1436-
"Warning: Unable to find the stamp file, did you try to keep a nonexistent build stage?"
1436+
"Error: Unable to find the stamp file {}, did you try to keep a nonexistent build stage?",
1437+
stamp.display()
14371438
);
14381439
crate::detail_exit(1);
14391440
}

0 commit comments

Comments
 (0)