diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-07-10 19:28:19 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-07-10 19:28:19 +0200 |
commit | bd9bce8531b5d694930a47bad17cbcd2f0a3d4de (patch) | |
tree | 0fdb77cf84b748fc068e46ed28f35304d8aef0f8 | |
parent | e4af1ea3b61c8e0a008a348df4b4061e5365b467 (diff) | |
download | mini-kvm-rs-bd9bce8531b5d694930a47bad17cbcd2f0a3d4de.tar.gz mini-kvm-rs-bd9bce8531b5d694930a47bad17cbcd2f0a3d4de.zip |
build.rs: raise make error
-rw-r--r-- | build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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()); } |