Improve the error message when python isn't installed.
This commit is contained in:
@@ -67,7 +67,9 @@ fn main() {
|
|||||||
.arg("--out-dir")
|
.arg("--out-dir")
|
||||||
.arg(out_dir)
|
.arg(out_dir)
|
||||||
.status()
|
.status()
|
||||||
.expect("Failed to launch second-level build script");
|
.expect(
|
||||||
|
"Failed to launch second-level build script; is python installed?",
|
||||||
|
);
|
||||||
if !status.success() {
|
if !status.success() {
|
||||||
process::exit(status.code().unwrap());
|
process::exit(status.code().unwrap());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user