aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/target.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile/target.rs')
-rw-r--r--src/makefile/target.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makefile/target.rs b/src/makefile/target.rs
index 7c0d67c..549c95c 100644
--- a/src/makefile/target.rs
+++ b/src/makefile/target.rs
@@ -58,7 +58,8 @@ impl Target {
.wrap_err_with(|| format!("as a dependency for target {}", self.name))?;
}
if !self.is_up_to_date(file) {
- self.execute_commands(file)?;
+ self.execute_commands(file)
+ .wrap_err_with(|| format!("while updating target {}", self.name))?;
}
self.already_updated.set(true);