We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Related:
Put simply, this issue can be closed when the following diff is applied:
--- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -899,15 +899,13 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { // Make a decision on whether to use LLD or our own linker. const use_lld = options.use_lld orelse blk: { - if (options.target.isDarwin()) { - break :blk false; - } - if (!build_options.have_llvm) break :blk false; - if (options.target.ofmt == .c) - break :blk false; + switch (options.target.ofmt) { + .c, .macho, .elf => break :blk false, + else => {}, + } if (options.want_lto) |lto| { if (lto) {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Related:
Put simply, this issue can be closed when the following diff is applied:
The text was updated successfully, but these errors were encountered: