We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d852bdc + b7c319c commit bd9fd38Copy full SHA for bd9fd38
src/bootstrap/compile.rs
@@ -22,7 +22,7 @@ use std::fs::{self, File};
22
use std::io::BufReader;
23
use std::io::prelude::*;
24
use std::path::{Path, PathBuf};
25
-use std::process::{Command, Stdio};
+use std::process::{Command, Stdio, exit};
26
use std::str;
27
28
use build_helper::{output, mtime, up_to_date};
@@ -1098,7 +1098,7 @@ pub fn run_cargo(builder: &Builder,
1098
});
1099
1100
if !ok {
1101
- panic!("cargo must succeed");
+ exit(1);
1102
}
1103
1104
// Ok now we need to actually find all the files listed in `toplevel`. We've
0 commit comments