| author | |
| committer | |
| log | 95eb37a198271373b9c4918ce885bb959418e67e |
| tree | 1e0fbafa61e65ed8d79c9b8a815e2acb6ee0155a |
| parent | 3391ad7a9091edec0b368b0e98e61ec02043e91b |
| signature |
This causes a confusing CLI error.1 files changed, 4 insertions(+), 0 deletions(-)
src/Compilation/Config.zig+4| ... | ... | @@ -409,6 +409,10 @@ pub fn resolve(options: Options) ResolveError!Config { |
| 409 | 409 | |
| 410 | 410 | if (options.use_lld) |x| break :b x; |
| 411 | 411 | |
| 412 | // If the user didn't specify whether to use LLD but did specify to use the new linker, | |
| 413 | // assume no LLD. | |
| 414 | if (options.use_new_linker == true) break :b false; | |
| 415 | ||
| 412 | 416 | // If we have no zig code to compile, no need for the self-hosted linker. |
| 413 | 417 | if (!options.have_zcu) break :b true; |
| 414 | 418 |