Commit 3a0b76b855

Andrew Kelley <andrew@ziglang.org>
2023-12-28 01:52:59
link.File.Wasm: remove dead condition
1 parent e47141a
Changed files (1)
src
src/link/Wasm.zig
@@ -3486,7 +3486,7 @@ pub fn flush(wasm: *Wasm, comp: *Compilation, prog_node: *std.Progress.Node) lin
 
     if (use_lld) {
         return wasm.linkWithLLD(comp, prog_node);
-    } else if (use_llvm and !use_lld) {
+    } else if (use_llvm) {
         return wasm.linkWithZld(comp, prog_node);
     } else {
         return wasm.flushModule(comp, prog_node);