build: use new linker if both new-linker and use-llvm are true

This commit is contained in:
xtex authored and Andrew Kelley committed 2026-06-22 01:44:45 +02:00
1 parent 9aa93a045e
commit 2dca73595f
1 file changed
-1
-1
View File
@@ -223,7 +223,6 @@ pub fn build(b: *std.Build) !void {
const use_llvm = b.option(bool, "use-llvm", "Use the llvm backend");
exe.use_llvm = use_llvm;
exe.use_lld = use_llvm;
if (no_bin) {
b.getInstallStep().dependOn(&exe.step);