aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index 98d7c88..fa1bef2 100644
--- a/build.rs
+++ b/build.rs
@@ -22,4 +22,8 @@ fn main() {
.output()
.unwrap();
std::io::stdout().write_all(&o.stdout).unwrap();
+ std::io::stderr().write_all(&o.stderr).unwrap();
+
+ // Ensure `make` was successfull.
+ assert!(o.status.success());
}