Improve the error message when python isn't installed.

This commit is contained in:
Dan Gohman
2018-05-09 07:52:18 -10:00
parent 1924039713
commit 842cd13bd1

View File

@@ -67,7 +67,9 @@ fn main() {
.arg("--out-dir")
.arg(out_dir)
.status()
.expect("Failed to launch second-level build script");
.expect(
"Failed to launch second-level build script; is python installed?",
);
if !status.success() {
process::exit(status.code().unwrap());
}