| ... | @@ -409,6 +409,10 @@ pub fn resolve(options: Options) ResolveError!Config { | ... | @@ -409,6 +409,10 @@ pub fn resolve(options: Options) ResolveError!Config { |
| 409 | | 409 | |
| 410 | if (options.use_lld) |x| break :b x; | 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 | // If we have no zig code to compile, no need for the self-hosted linker. | 416 | // If we have no zig code to compile, no need for the self-hosted linker. |
| 413 | if (!options.have_zcu) break :b true; | 417 | if (!options.have_zcu) break :b true; |
| 414 | | 418 | |