| ... | @@ -400,7 +400,9 @@ pub fn resolve(options: Options) ResolveError!Config { | ... | @@ -400,7 +400,9 @@ pub fn resolve(options: Options) ResolveError!Config { |
| 400 | break :b true; | 400 | break :b true; |
| 401 | } | 401 | } |
| 402 | | 402 | |
| 403 | if (options.use_llvm == false) { | 403 | // If there's no ZCU we aren't using the LLVM backend but |
| | 404 | // it shouldn't influence which linker we pick |
| | 405 | if (!use_llvm and options.have_zcu) { |
| 404 | if (options.use_lld == true) return error.LldCannotIncrementallyLink; | 406 | if (options.use_lld == true) return error.LldCannotIncrementallyLink; |
| 405 | break :b false; | 407 | break :b false; |
| 406 | } | 408 | } |