diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig index cdd40891daa702e07014b923194c4447be8fce67..a0907d6c514993fe4563e5f8a475cac97b886bbc 100644 --- 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);