| author | |
| committer | |
| log | 71950f8c347baeccce09acb71b8966ec1cd1ea3b |
| tree | bbbc5ace4f625595e73101b965bdfb014b7b6d87 |
| parent | d6386772daff1cd3932cc1f177be38b6c90c2e3b |
1 files changed, 3 insertions(+), 1 deletions(-)
src/Compilation/Config.zig+3-1| ... | ... | @@ -400,7 +400,9 @@ pub fn resolve(options: Options) ResolveError!Config { |
| 400 | 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 | 406 | if (options.use_lld == true) return error.LldCannotIncrementallyLink; |
| 405 | 407 | break :b false; |
| 406 | 408 | } |