diff options
| author | Ian Douglas Scott <ian@iandouglasscott.com> | 2017-06-22 11:51:32 -0700 |
|---|---|---|
| committer | Ian Douglas Scott <ian@iandouglasscott.com> | 2017-06-22 11:51:32 -0700 |
| commit | f98ffb5bc348d1b11f10ebd5f4c5e2fe2813e167 (patch) | |
| tree | cfc7e212079d0b2cf681ff3ae768cad177ad58b9 /src/bootstrap/native.rs | |
| parent | 526afcb0a341c6036c069e113ebecf574c861c9f (diff) | |
| download | rust-f98ffb5bc348d1b11f10ebd5f4c5e2fe2813e167.tar.gz rust-f98ffb5bc348d1b11f10ebd5f4c5e2fe2813e167.zip | |
Make Build.cxx() return a Result instead of panicking
Diffstat (limited to 'src/bootstrap/native.rs')
| -rw-r--r-- | src/bootstrap/native.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index a23be37b15e..f150df6cdcd 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -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") && |
