commit 3a0b76b855b243867d84d8bfa5de550143bed2ae (tree)
parent e47141a14e568b2aaa866de4e75496fcd63f1621
Author: Andrew Kelley <andrew@ziglang.org>
Date: Wed, 27 Dec 2023 17:52:59 -0700
link.File.Wasm: remove dead condition
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/link/Wasm.zig b/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);