Make Build.cxx() return a Result instead of panicking
This commit is contained in:
parent
526afcb0a3
commit
f98ffb5bc3
5 changed files with 14 additions and 11 deletions
|
|
@ -155,7 +155,7 @@ pub fn llvm(build: &Build, target: &str) {
|
|||
}
|
||||
|
||||
let cc = build.cc(target);
|
||||
let cxx = build.cxx(target);
|
||||
let cxx = build.cxx(target).unwrap();
|
||||
|
||||
// Handle msvc + ninja + ccache specially (this is what the bots use)
|
||||
if target.contains("msvc") &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue